Taylor Swift just wrapped up her fifth and last show at the Staples Center in Los Angeles. And, as a surprise, a few guests came out on stage to perform.

Image courtesy of INFphoto.com

Based on a report from The Daily Mail, Selena Gomez was the first to step on stage. The two BFFs performed Swift’s song “Good For You” in matching boots.

Later, as a totally out of left-field appearance, Lisa Kudrow performed “Smelly Cat” from Friends with the “Shake It Off” star.

As the final guest appearance of the night, Justin Timberlake arrived, looking somewhat casually in jeans and a fedora. Swift, too, toned down her style to match, and the two sang Timberlake’s “Mirrors.”

The series of five sold-out shows ended on a star-studded note. For that last show, it was reported that Reese Witherspoon, Alessandra Ambrosio, Ruby Rose, Julianne Hough, Mario Lopez and Nina Dobrev were all in the audience.

The Staples Center captured the moments and released them through Twitter:

The 1989 World Tour is Swift’s fourth on-the-road effort and supports last year’s pop star turn. Her global string of dates started back in May and continues until December 2015.

Videos via Twitter from The Staples Center