ALTOONA, Pa. (AP) — Police say a central Pennsylvania man who locked himself out of his house wound up locked up in jail once emergency responders realized he had unpaid court fines.

The Altoona Mirror reports 35-year-old Jeffrey Jones climbed onto the roof Sunday night while trying to get into his house through a window, but had to call 911 when he got stuck.

Altoona police say that’s when they discovered Jones was wanted by the Blair County sheriff’s office for failing to pay about $750 in court costs and fines.

As a result, Jones was taken to jail, where he remained Monday.

Online court records don’t list an attorney for Jones.