Prince George’s County police arrested two men Wednesday who robbed a bank in Largo, then led police on a bizarre chase that ended when one of the men tried to hang himself, authorities said.

The unusual sequence of events started about 9:40 a.m., when a man went into the M&T Bank on Campus Way South in Largo and passed a note to the teller demanding money, said Cpl. Mike Rodriguez, a Prince George’s County Police spokesman. Rodriguez said the teller gave the man money, and the man left the bank.

Police soon broadcast a description of the man’s vehicle, and officers spotted it near Karen Elaine Drive and Riverdale Road in the New Carrollton area, Rodriguez said. When police stopped it, one of the men gave up, he said. The other, he said, ran into a nearby apartment.

Police followed the man on foot and eventually found him hanging outside an apartment window with a sheet wrapped around his neck, Rodriguez said. He said investigators believe the man was trying to kill himself, though officers quickly cut him down. His injuries are not believed to be life threatening, Rodriguez said.

Rodriguez said he could not release either man’s name because police are still working to formally charge them.