The stunt, filmed last month, is part of the mayor welcoming the show's cast and crew after their move from New York to Southern California.
"Film has always been one of the most important industries in our city, and we've lost a lot of film production, both movie and television over the last few years. And every opportunity that we can get to welcome someone back we wanna do that," said Villaraigosa. "I'm excited that they're here and just it's a great opportunity for us to celebrate the economic input that we get from a season like this, I think, as I understand about $76 million, about 150 jobs. So this is great for L.A."
Lucci said it's not just the mayor who's made them feel at home.
"L.A. has been so welcoming and so warm in saying that they're happy to have us here from 'All My Children,' And that makes us feel very good indeed," said Lucci.
"I am a New Yorker so I frankly came kicking and screaming, I didn't want to move. And yet I must tell you in a very short time I can see why ABC wanted to move here. I have been enjoying this very much, and I'm speaking for myself, but I can tell you that what I'm hearing from my friends, the actors, we all find this transition to be a wonderful one."
Villaraigosa isn't the only Los Angeles politician to make a cameo on the long-running soap. City Council member Eric Garcetti filmed a cameo that aired Tuesday.