PHILADELPHIA (CBS) — The mayor takes action after a confrontation outside Philadelphia City Hall.

The confrontation begins with what appears to a homeless man yelling at Mayor Michael Nutter.

READ MORE: Pennsylvania Primary: What Philadelphia Voters Need To Know Ahead Of Tuesday's Election

Things get heated.

He then confronts an officer guarding the mayor and then pulls the officer down on the ground.

But things don’t end there.

Mayor Michael Nutter was with some of his staffers and other city officials at the concourse of the Municipal Services Building across the street from City Hall.

The mayor’s spokesperson tells CBS 3 Eyewitness News they were talking about issues related to the concourse.

It’s a place the homeless tend to congregate.

READ MORE: Nearly 40,000 Early Votes Already Cast In Bucks County, But Election Officials Still Warn Results May Be Delayed

You can see the mayor gets involved, helping pull the man off the officer on his security detail and he tries to calm the man down.

The amateur video was shot by an eyewitness Monday afternoon.

He just happened to be recording people skateboarding when he tells CBS 3 Eyewitness News he heard a man cursing at the mayor.

He kept rolling as Mayor Nutter got face to face with the man to try and diffuse the altercation.

About 20 seconds after it all started, the Philadelphia police officer let go of the man’s throat.

After cooling off, the man then walks away. He wasn’t arrested or charged.

MORE NEWS: Public Works Crews Across Delaware Valley Prepare For Arrival Of Anticipated Severe Weather

The mayor and police officer were not hurt.