Tekashi 6ix9ine thegrio.com
Daniel Hernandez, AKA Tekashi 6ix9ine, August 22, 2018 - Houston, TX, arraignment on assault charges in County Criminal Court #1 at the Harris County Courthouse. (Photo by Bob Levey/Getty Images)

Hours after a New York judge gave rapper Tekashi 6ix9ine four years of probation for posting a video of a 13-year-old engaged in a sex act, a shooting erupted outside of a planned celebration for him, Page Six and TMZ are reporting.

A bodyguard for the rapper was shot in the abdomen during an altercation outside of the Philippe Chow restaurant on Manhattan’s east side, TMZ reported. The bodyguard has undergone surgery and is in stable condition, according to the news organization.

The rapper and his entourage were approaching the restaurant on Friday for a celebratory dinner the manager had planned for himself and 6ix9ine, but when the entourage arrived, one of the manager’s bodyguards said the group could not enter, according to Page Six.

Members of 6ix9ine’s crew became enraged and one of them allegedly hit one of the manager’s security guards over the head with a chair, according to police.

That’s when one of the manager’s bodyguards pulled out a gun and “shot the individual two times in the torso,” Kathleen Walsh, deputy inspector, and commanding officer of the NYPD’s 19th Precinct, told Page Six.

The rapper was not involved in the fight police told the news organization.

The wounded bodyguard, whose name has not been released, was taken to New York-Presbyterian/Weill Cornell Medical Center for treatment.

Earlier Friday, Judge Felicia Mennin ordered the rapper, whose given name is Daniel Hernandez, to four years of probation as well as 1,000 hours of community service. The judge granted the 22-year-old youthful offender status, reported Page Six.

Prosecutors had asked for one to three years in prison for the rapper.

Read More: Rapper Tekashi 6ix9ine released from NYC jail on bail after gang threats

Read More: Black journalists sporting smiles after Megyn Kelly cancellation

The rapper is no stranger to the law. He was arrested last January in Texas for choking a teenage fan and months later, arrested in New York City for assaulting a police officer and driving with a suspended license.

The Brooklyn and Texas cases are pending.