Police say a 25-year-old Webster man turned himself in Sunday afternoon and admitted to the robbery of Southbridge Savings Bank the day before.

David Porter, of 22 Myrtle Avenue, will be arraigned today in Dudley District Court.

Police said the suspect felt pressure after a surveillance photo of the robbery was plastered in news media and on social media websites.

On Saturday morning, the suspect walked into the bank and handed a teller a note demanding cash. He was given $2,490. He then left the bank on foot.

Detective Sgt. Carlos Dingui said in an interview this morning that Mr. Porter and his girlfriend received phone calls from people who thought he had robbed the bank. Sgt. Dingui said Mr. Porter told investigators he saw his face on the front of a newspaper.

“He felt he was boxed in and said, ‘I need to turn myself in.' He told his family what happened. They told us, and we arranged for him to come to the station,” the sergeant said.

Police received tips with Mr. Porter’s name throughout the weekend, the sergeant said.