A man who spent two weeks in jail after a Cobb County judge failed to lift a contempt warrant despite his request for a new trial has sued the county and the judge, who earlier refused to grant a continuance after he was taken to the hospital during a court break for chest pains.

The complaint filed in U.S. District Court in Atlanta said Cobb County Superior Court Judge Kimberly Childs refused to delay the hearing and instead went on to order Jay Drew to pay more than $14,500 as he lay in the hospital, including an incarceration order if the money wasn’t paid within a month.