Joshua Allen is headed to jail.
The So You Think You Can Dance season four winner was sentenced to one year in jail after pleading no contest to domestic violence, the Los Angeles County District Attorney's Office said on Thursday.
RELATED: Justin Bieber Shares Throwback Mugshot Pic, Vows 'Never Again': 'Jail's Not a Cool Place to Be'
The 28-year-old dancer was convicted of one felony count each of willfully injuring a girlfriend after a prior conviction and assault with a deadly weapon. Allen will now serve one year in county jail, five years of formal probation and 52 weeks of domestic violence counseling. He was also ordered to stay away from the victims for 10 years.
According to authorities, Allen assaulted and strangled his girlfriend in April of 2016. Two months later, while facing prosecution for the April incident, he attacked the same victim and she ran to a nearby coffee shop to ask for help, the prosecutor said. Allen then chased her into the coffee shop and threw a glass vase at a woman, who attempted to help the victim, and attacked another man who also tried to intervene. The Step Up 3D dancer also vandalized the coffee shop until he was finally subdued.
RELATED: Abby Lee Miller Cries, Eats Mac and Cheese During Her Last Moments Before Heading to Jail
Earlier this month, Allen was scheduled to appear on So You Think You Can Dance: The Next Generation, but was replaced by Marko Germar. Executive producer Nigel Lythgoe addressed Allen's absence on the show by saying he could not commit to the series because of "personal reasons" and was let out of his contract.