A man shot in the chest Wednesday as he walked out of a York City bar was wanted in Maryland for allegedly committing an armed robbery, police said.

Thomas Washington III, 33, of 731 W. Poplar St., remains in York Hospital, recovering from his wound.

On Friday morning, District Judge Linda Williams conducted a bedside arraignment in Washington's hospital room, according to Lt. Tim Utley, who supervises the city detective bureau.

Washington is now charged with being a fugitive from justice, and his bail was set at $60,000, Utley said.

He remains under guard at the hospital, Utley said. Unless Washington can post bail, he will be taken to county prison after he's released from the hospital.

Investigation: York City Detective Travis Sowers is investigating the shooting.

It was Sowers who determined Washington was wanted in Baltimore County for an alleged armed robbery, Utley said.

Sowers was one of two detectives named 2011's officers of the year by York City Police.

Washington told detectives he was shot after he walked out of the Bottoms Up Bar in the 600 block of East Philadelphia Street about 2:25 a.m. Wednesday.

He said the shooter was in a white or light-colored vehicle, according to Utley.

Anyone with information about the shooting is asked to call detectives at 849-2219, or call the city's anonymous crime tip line, 849-2204. Or anonymously text a tip to YORKTIPS at 847411.

-- Reach Elizabeth Evans at levans@yorkdispatch.com, 505-5429 or twitter.com/ydcrimetime.