Domestic assault charges against Constantine Maroulis will be dropped pending good behavior.

The former American Idol finalist was facing domestic assault charges stemming from his August arrests, but a judge has dismissed the case as long as he can avoid violence against his four-year-old child's mother, Angel Reed, for the next six months, TMZ reported.

Maroulis, who got arrested twice in the same week last month for fighting Reed, appeared in court on Friday.

For the first arrest, Reed claimed Maroulis kicked her in the groin and pulled her hair during an argument in their New Jersey home. Maroulis countered saying he acted in self-defense, and almost immediately after posting bail, he got a restraining order against her.

Maroulis was taken into custody a second time because he reached out to Reed via email, which was a violation of the restraining order. His representative insisted at the time the letter was meant for his client's lawyers and Maroulis accidentally cc'd her.

Maroulis, 40, competed on the fourth season of American Idol and finished in sixth place. He has since starred on Broadway.