Disorder in the court!

A Kentucky courthouse dispute escalated to an all-out brawl between two lawyers — landing one in jail and the other in a hospital bed, according to a report.

Lindsey Scott, 63, faces assault charges for allegedly hurling an aerosol can at the head of another lawyer, James “J.R.” Moore, at the Hall of Justice in Louisville on Wednesday, the Louisville Courier-Journal reported.

Deputies responded to the courthouse around 8:12 a.m. after a fight was reported in the third-floor attorney workroom.

Moore was reportedly working when Scott, a former US Marine, entered the room and the fight ensued. It’s unclear what prompted the violent conflict, authorities said.

Both men were brought to the hospital. Moore was treated for lacerations from the blow — and Scott received medial attention for chest pains, deputies said.

Scott, who was admitted to the state bar in 2002, was booked into Metro Corrections Center on second-degree assault charges.