Brooklyn rapper Tekashi69 (aka 6ix9ine) was sentenced to four years probation in his ongoing child sex performance case, according to local news station Pix11. The hip-hop star pleads guilty to charges in 2015 after he used a 13-year-old child in a sexual performance that was recorded on video and surfaced online.

6ix9ine was 18 years old at the time that the video was recorded, and the video clip allegedly showed him engaging in sexual contact with a minor. According to the complaint filed in New York Criminal Court, 6ix9ine could be seen touching and fondling the minor’s body parts while he stood behind her, “making a thrusting motion with his pelvis and smacking her on the buttocks.”

View this post on Instagram

GOD IS GOOD GOD IS… GOOD!

A post shared by STOOPID OUT NOW ‼️ (@6ix9ine) on

“The defendant, knowing the character and content thereof, employed, authorized and induced a child less than 17 years of age to engage in a sexual performance, and being a parent, legal guardian, and custodian of such child, the defendant consented to the participation of such child in a sexual performance,” court documents stated, according to Pix11.

6ix9ine, who is now 22 years old, originally faced one to three years behind bars in the case. In addition to the four years probation, he was also sentenced to 1,000 hours of community service.

The rapper has recently gained fame in the mainstream thanks to his recent collab with Nicki Minaj on their hit “FEFE.” He’s also been hinting at his legal issues on social media, sharing a photo of himself wearing a suit with the caption, “GOD IS GOOD GOD IS… GOOD!”

But just hours after his probation sentence, 6ix9ine was linked to a shooting at Upper East Side’s Philippe restaurant. 6ix9ine and his manager met there to have a dinner that was meant to be a celebration of his judgment, but members of 6ix9ine’s entourage were denied entry, according to ABC News. A few hours later, three members of 6ix9ine’s crew were shot after a brawl broke out between his entourage and the restaurant’s security guard.