An inmate at the Cumberland County Jail in Portland attempted suicide by jumping off a second-floor deck, the Cumberland County Sheriff’s Office said Saturday.

The incident occurred shortly before 5:15 p.m. Friday, according to the sheriff’s office, when the officer in a wing of the jail tried to retrieve a dinner tray from an inmate, Harry Conley, 43, of Falmouth. Conley was arrested Wednesday by Falmouth police on charges including burglary of a motor vehicle, felony theft and violation of a conditional release.

When the officer opened Conley’s cell door, the sheriff’s office said, Conley shoved his tray into the officer and then ran past. He continued up the stairs and then jumped over the railing on the stair landing, which is about 10 to 12 feet above the floor, jail officials said. Conley landed on his feet, officers said, and was treated for minor injuries at Maine Medical Center.

After he was released from the hospital, he was taken back to the jail and was being held in the medical unit on a suicide watch.