Rapper Lil Nas X, best known for his viral rap-country hit ā€œOld Town Road,ā€ has come out of the closet.

The rapper, whose real name is Montero Lamar Hill, publicly came out Sunday in a .

ā€œSome of yā€™all already know, some of yā€™all donā€™t care, some of yā€™all not gone fwm no more. but before this month end i want yā€™all to listen closely to c7osure,ā€ he tweeted on, alluding to a song from his debut EP, ā€œ7EP.ā€ He also attached a rainbow emoji.

In the song, the rapper doesnā€™t explicitly say that he is gay. But he does allude to feeling of wanting to ā€œlet goā€ and ā€œbe free.ā€

ā€œAinā€™t no more actinā€™, man that forecast say I should just let me grow/No more red light for me baby, only green, I gotta go/Pack my past up in the back, oh, let my future take ahold/This is what I gotta do, canā€™t be regrettinā€™ when Iā€™m old,ā€ he raps.

Lil Nas X followed up with a that zeroes in on a tower lit up in the colour of the rainbow.

ā€œDeadass thought i made it obvious,ā€ he tweeted.

The rapperā€™s announcement coincided with the last day of Pride month as thousands of revellers in New York City marched in the streets to mark the 50th year anniversary since the Stonewall riots.

The announcement is major news for the rap and hip hop industry, where few musical artists have come out as gay or bisexual. Frank Ocean made headlines back in 2012 when he revealed in that his first love was a man.

Lil Nas X was relatively unknown before he dropped ā€œOld Town Road,ā€ a track he recorded earlier this year with Billy Ray Cyrus. The song, which fuses elements of country and rap, became an overnight sensation and shot to the top of the U.S. charts.

The song also launched debates about race and country music after Billboard ejected the song from country charts, saying it didnā€™t fit within the genre. The move prompted backlash, with critics saying that Billboard made the decision because Lil Nas X is black. Billboard denied those allegations.