Photo: Shareif Ziyadat/WireImage

775218463SZ038_Made_In_Amer

Tekashi 6ix9ine was sentenced to four years probation, years after he was arrested for his alleged involvement in a child sex case.

At the time, Tekashi pled guilty to three felony counts for the incident, in which he allegedly “stood behind the child making a thrusting motion with his pelvis and smacking her on her buttocks.”

Jefferson Siegel/NY Daily News via Getty

DN+5O9A9542.JPG

For the crime, the rapper was reportedly looking at one to three years of prison, according toTMZ. He later agreed to a plea deal, the outlet reported, which included passing his GED and maintaining a clean arrest record until his original October 2017 sentencing date.

Despite the agreement, he never received his degree and his court date was continuously pushed back, according to TMZ.

On Friday, however, Tekashi appeared at a Manhattan courthouse and received his charges.

In addition to his four-year probation (he was reportedly already credited for one year), the rapper will have to complete 1,000 hours of community service.

Although he does not have to register as a sex offender, he must also refrain from gang affiliations and posting/reposting sexually-explicit or violent photos of women or children online,TMZreported.

A legal representative for Tekashi did not immediately respond to PEOPLE’s request for comment.

RELATED VIDEO: Rapper XXXTentacion Shot in Florida Outside Motorcycle Dealer: Report

Later on Friday, the New York Police Departmentconfirmed the shooting on Twitterand said the investigation is still in its early stages.

source: people.com