Sacramento mayor Kevin Johnson punches pie thrower

SACRAMENTO, CA - SEPTEMBER 11: Sacramento Mayor Kevin Johnson speaks on stage during a parade honoring
Alek Skarlatos, Anthony Sadler, and Spencer Stone for their August 21 actions in overpowering a gunman on a Paris-bound train on September 11, 2015 in Sacramento, California. Thousands lined the street along Capitol Mall to celebrate their hometown heroes. (Photo by Stephen Lam/ Getty Images)

SACRAMENTO, CA - SEPTEMBER 11: Sacramento Mayor Kevin Johnson speaks on stage during a parade honoring Alek Skarlatos, Anthony Sadler, and Spencer Stone for their August 21 actions in overpowering a gunman on a Paris-bound train on September 11, 2015 in Sacramento, California. Thousands lined the street along Capitol Mall to celebrate their hometown heroes. (Photo by Stephen Lam/ Getty Images)

(CNN) — Kevin Johnson — the NBA star-turned-Sacramento mayor — was pied in the face by a man at a charity dinner Wednesday night at the high school he once attended.

But the pie-thrower appeared to get the worst of it.

Sean Thompson, 32, approached the mayor, pulled a pie out of the bag and shoving it in his face — setting off a short scuffle, in which Johnson punched Thompson in the face several times, according to witnesses descriptions of the scuffle in local media reports.

“There was an altercation that occurred after he got the pie in the face,” Sgt. Bryce Heinlein, a Sacramento police spokesman, told CNN.

“There were some punches thrown, and then the subject was quickly taken to the ground by one of the officers that is on the mayor’s security detail” and some event attendees, Heinlein said.

Thompson was arrested and faces felony charges of assaulting a public official, Sacramento police said. The Sacramento Fire Department transported him to a local hospital after the scuffle. A booking photo shows him with two sets of stitches around a blackened left eye.

Crystal Strait, Johnson’s chief of staff, was on hand for the incident Wednesday night, and described a briefly chaotic scene.

She said in an email that “the Mayor was attacked and grabbed him from behind and struck with what we afterwards learned was a pie from an unknown man. He reacted in self-defense like most people do when attacked by an unknown object.”

She that Johnson “did not have any significant injuries,” though one staffer was receiving medical care Thursday for a minor injury that occurred while helping to restrain Thompson.

The mayor, who was a star point guard for the Phoenix Suns in the late 1980s through the 1990s, addressed the incident on Twitter, saying: “Appreciate everyone. I’m doing fine. Thank you to Sac PD for being there. Be safe everyone.”