Music legend Paul McCartney made a surprise appearance at the "March For Our Lives" in New York on Saturday to speak out in support of gun control, telling a CNN reporter that the death of bandmate John Lennon was the inspiration for his attendance.

In an interview with the news network, McCartney said he doesn't know whether meaningful gun control is possible in the United States, but that he hopes America's gun violence epidemic can end.

"You know, I'm like everyone. I don't know [if gun control legislation can be passed]," McCartney said. "But this is what we can do, and I'm here to do it."

ADVERTISEMENT

"One of my best friends was killed in gun violence right around here," he added, referring to Lennon's murder outside his Manhattan apartment in 1980. "So it's important to me."

Lennon was killed by Mark David Chapman in 1980 outside his home after returning from a studio with his wife, Yoko Ono.

McCartney was one of thousands of people who attended marches against gun violence in all 50 states, Washington D.C., and countries around the world on Saturday to commemorate victims of gun violence and call for tougher gun control measures.

The former Beatles member has spoken out in defense of liberal causes before, including last November when he criticized President Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE directly for his views on climate change.

McCartney endorsed Hillary Clinton Hillary Diane Rodham ClintonJoe Biden looks to expand election battleground into Trump country Biden leads Trump by 12 points among Catholic voters: poll The Hill's Campaign Report: Biden goes on offense MORE during the 2016 presidential election, tweeting a picture with the candidate captioned "She's with me."

The march was organized by students of Marjory Stoneman Douglas High School in Parkland, Fla., where a gunman killed 17 students and faculty in a mass shooting last month.

Saturday's marches were attended by numerous celebrities and politicians, while others tweeted support for demonstrators around the country.