Tekashi 6ix9ine will be avoiding prison time in his child sex case.

On Friday in a Manhattan, New York courthouse, Judge Felicia A. Mennin, 6ix9ine whose given name is Daniel Hernandez was ordered to serve four years probation and 1,000 hours of community service for violating the terms of a plea agreement stemming from his 2015 arrest for the use of a child in a sexual performance.

Tekashi 6ix9ine Surprises 8-Year Old Girl Battling Brain Cancer

The “Billy” rapper is not required to register as a sex offender but must refrain from gang affiliation and the posting or reposting of online sexually explicit or violent images of women or children.

“GOD IS GOOD GOD IS… GOOD!,” 6ix9ine captioned a post on Instagram following the ruling.

Tekashi 6ix9ine previously pled guilty after online videos surfaced of him sexually engaging with an underage girl in October 2015. At the time of the incident, he was 18 while the victim was 13.