— A 41-year-old man was arrested and charged Wednesday with attempting to rob the Bank of America branch at Cross Creek Mall, Fayetteville police said.

Detectives identified Joseph Junior Alfred, of 1356 Davis Street in Fayetteville, from surveillance videos of two bank robberies he committed in 2013. Alfred was convicted of those robberies, served time in prison and was on probation when Tuesday’s attempted robbery took place, authorities said.

A man walked into the Bank of America branch at about 2 p.m. Tuesday and handed a note to a teller that demanded money and indicated he was armed, police said. But the man fled on foot without obtaining any money.

Alfred is charged with attempted robbery with a dangerous weapon. He was placed in the Cumberland County jail under a $55,000 bond.