A man unsuccessfully tried to break into the Allegheny County Jail Saturday morning, but police said he will eventually get his wish.

County police said in a news release that the man tried to get in the door to the visitors lobby “through various means, causing extensive damage to the door” around 7 a.m.

In the process, the man, who has not been identified, suffered a minor injury. Pittsburgh police detained him and he was taken to a hospital for treatment.

County police are filing burglary and other charges and said they will be taking him to the jail for arraignment.