San Francisco District Attorney Chesa Boudin withdrew charges on Monday against one of two suspects in a disturbing attack on an Asian man in San Francisco’s Bayview that was captured on video and prompted outrage from city leaders, officials said.

The district attorney’s office will pursue a “restorative justice” model against 20-year-old Dwayne Grayson, who was booked last week on suspicion of robbery, elder abuse, a hate crime charge and probation violation following the Feb. 22 incident.

Police said Grayson recorded the attack and posted it to social media.

Boudin charged him with elder abuse last week, but pulled back the charges after having a conversation with the victim, said Alex Bastian, a spokesman for the district attorney’s office. The victim has not been identified or spoken publicly about the incident.

“We’ve been in conversation with the victim who expressed interest in a restorative justice outcome in this case,” Bastian said. “Specifically, against the young person who videoed the incident. We respect victims and their desires, and we will explore a restorative justice outcome.”

Boudin campaigned on expanding restorative justice in the office before being sworn in this year. The model seeks to rehabilitate offenders through reconciliation with victims over punishment.

If restorative justice does not work, the district attorney’s office said it will still have the option to file criminal charges.

Police over the weekend arrested a second person in the case after a weeklong manhunt.

Jonathan Amerson surrendered on Sunday at Bayview Station. He was booked on suspicion of two counts of robbery and two counts of elder abuse.

Police were expected to present the case to the district attorney’s office late Monday.

Police said Amerson, 56, had robbed the same victim two months before the attack that drew widespread shock and anger after it was posted on social media and started receiving thousands of views as it circulated on the internet.

The video shows a man identified as Amerson swinging a metal bar at the victim on Oceola Lane near La Salle Avenue while apparently taking his large collection of cans, police said.

“I hate Asians n—” one person is heard saying in the video.

The victim appears to be crying as bystanders mock him and put their cell phones in his face.

Evan Sernoffsky and Alejandro Serrano are San Francisco Chronicle staff writers. Email: esernoffsky@sfchronicle.com, alejandro.serrano@sfchronicle.com Twitter: @EvanSernoffsky, @serrano_alej