Talk about putting up a fight for your client.

A child custody hearing in Georgia took an unexpected turn on Wednesday when two attorneys got into a fistfight before being kicked out of the courtroom and thrown in jail.

Attorneys John Thigpen Jr. and Kenneth Futch had to be separated by Pierce County Sheriff Ramsey Bennett about two hours into a contentious court hearing regarding the custody of a child, the Florida Times-Union reports.

“I was the first one to them,” Bennett told the newspaper. “I and my two captains separated them … I don’t mean pushing and shoving. I mean a fistfight.”

Superior Court Judge Andrew Spivey found both men in contempt of court and ordered them held overnight.

“He said, ‘This hearing is concluded and you two gentlemen are going to jail,” Bennett said.

Spivey later called Bennett and told him to release the attorneys after they cooled off several hours later.

It’s unclear what led to the fight, but the two attorneys have a contentious history, according to the newspaper.

Futch threatened to have Thigpen arrested last year while he was serving as a judge for Blackshear Municipal Court, where he accused Thigpen of trying to solicit clients by offering them pro bono legal services.

Thigpen later began representing Futch’s wife, Sheila Futch, after she was charged with aggravated assault for shooting her husband during an incident at the couple’s home in April 2016. Thigpen also claimed at the time to have an audio recording of Kenneth Futch using racial slurs while berating his wife in their home.

Futch later resigned as a judge, saying he didn’t want to cause the city of Blackshear any embarrassment, although he claimed the accusations were a private matter.