A federal inmate at the Cumberland County Jail who is facing charges of robbing two banks in Maine tried to hang himself with a bed sheet Saturday night, a sheriff’s official said.

After his suicide attempt failed, Philip Gage, 46, of Somersworth, N.H., was placed under suicide watch and remained on suicide watch Sunday at the Portland facility.

Capt. Steve Butts said in a press release that a corrections officer was walking underneath Gage’s cell block around 7:30 p.m. Saturday when Gage stepped out of his cell with a sheet tied around his neck. Gage then proceeded to tie the sheet to a railing before he jumped.

On his way down to the lower deck, the sheet ripped and Gage fell on the floor. He was transported by ambulance to Maine Medical Center, where he was treated for minor injuries.

Gage has been held at the jail since he was arrested Oct. 31 by police in connection with robberies that took place at the Ocean Communities Federal Credit Union in Sanford and at the Kennebunk Savings Bank in Eliot.

Gage was captured on a video surveillance camera in the Oct. 26 robbery in Sanford. In that video, he allegedly walked up to a teller and displayed a handgun before being handed cash.