Photo Credit: NY Post

Surprising surveillance video shows a good Samaritan getting attacked on a Midtown sidewalk Wednesday morning after he gives a homeless man his coat.

The attack began when the 59-year-old victim tried to assist Xavier Israel, 25, who was lying on the ground in front of 476 5th Ave. at about 8:40 a.m., according to sources.

RELATED:New High-Rise Will House Homeless People On L.A’s Skid Row

Right after the victim gently wraps Israel with his jacket, Israel kicks to his feet and seems to push the man to the ground before yanking the wallet from his back pants pocket, according to footage collected by The Post.

Israel left the scene but was arrested a brief time later on West 41st St. and 5th Ave., sources said.

RELATED:Nicolas Cage Allegedly Mistaken For ‘Homeless Drunk Man’ As He’s Kicked Out Las Vegas Restaurant

Witnesses notified police that Israel packed cash inside his pants and officers recouped nearly $1,500 from him, according to sources.

Israel was hit with several charges, including assault, robbery and grand larceny, sources said.