Lil Nas X recently returned home to Atlanta and stopped by his former high school to give students the surprise of a lifetime.

» RELATED: Lil Nas X reveals he's 'somewhat' in a relationship

During a segment for "CBS This Morning," the star made his way to Lithia Springs High School, where he earned his diploma just two years ago. It was his first time visiting the campus since "Old Town Road" became the longest-running song atop the Billboard charts.

As the rapper roamed the hallways, the students cheered and posed for pictures. Some even cried. He also performed for the students in the school’s gymnasium.

“I definitely felt like some kind of hero,” he told host Gayle King. “Everybody was just going crazy.”

The artist also opened up about coming out. As a kid, he said he knew he was gay but was taught to hate homosexuality. He even admitted he prayed his sexuality was just a "phase." By age 16, he said he was more comfortable with himself and now hopes his journey will inspire others.

“For me, being in this position, it’s easy for me,” he said. “But some boy 10 miles from here in the hood, it’s not going to be good for him.”

And as for how he’s handling all the success, he’s said he’s grateful.

“It can happen for you,” he said. “Anything and everything is possible.”

Read the full interview here.

» RELATED: Atlanta rapper Lil Nas X came out, but has hip-hop?