Howard Stern signed off NBC’s “America’s Got Talent” with an emotional farewell segment. See his goodbye to the show and love letter to New York City.

“I’ve had such incredible moments on this show. I really have… It has been phenomenal,” Stern says in the video.

The radio legend explains that his motivation to be a judge on the series was rooted in his own experiences.

“I thought it would be really cool to be a judge, because I think I have something to offer,” he says. “If I had any dream about this, it’s that I could take someone who was struggling and seriously give advice. I was told over and over again that I had no talent. I was in college radio. No one was banking on me.”

In the clip, Stern interacts with NYC inhabitants, underscored by Billy Joel’s “New York State of Mind.”

“New York is just kinda who I am,” he says. “I felt really fortunate that I could be the guy responsible for bringing the show to New York.”

Stern also notes that his stint on “AGT” has provided him with a new set of fans. “I’ll go to a restaurant and parents will bring over their 10-year-olds to sit on my lap to take a picture. I’m like, ‘Oh my god.’ It’s kinda funny to me because this never happened to me in my career.”

Stern appeared as a judge for the past four seasons of “America’s Got Talent” on NBC. He announced his departure in June.