A San Francisco deputy sheriff who recently filed for bankruptcy was arrested Friday morning on suspicion of robbing $1,700 from a Bank of America branch this month, authorities said.

Philip Chun Tong, 36, of Pacifica was arrested by San Francisco police at 425 Seventh St., where he worked at the city jail, said Susan Fahey, a spokeswoman for the Sheriff's Department.

He was booked into the same jail and was charged by prosecutors Friday afternoon with second-degree robbery and second-degree burglary, both felonies.

Investigators said bank surveillance video shows a man resembling Tong entering the branch at 3701 Balboa St. in the Richmond District just before closing time Nov. 7 and fleeing on foot with $1,700 in cash.

The robber handed a note to a teller demanding money and saying he was armed, police said. The teller complied.

Investigators said they were able to get fingerprints off the demand note and, using a fingerprint database, matched the prints with those on file for Tong.

Tong filed for bankruptcy in July, with court filings listing his liabilities at $739,434. According to those records, he owes $541,662 in car and house payments, $94,912 in credit card purchases and $1,989.98 in payday loans, on top of other debts.

On his deputy's salary, he took home about $7,376 a month, including overtime.

Court document show he also maintained a checking account at a San Bruno branch of Bank of America with $1,200.

Tong is married with two young sons, ages 5 and 7, according to the bankruptcy documents. Calls to his home in Pacifica went unanswered.

Tong has been with the Sheriff's Department since September 2005 and worked most recently in the custody division, Fahey said. He has been suspended and placed on unpaid administrative leave.

Tong is being held in lieu of $150,000 bail. He will be arraigned next week.