Taylor Swift The 1989 World Tour Live In Los Angeles - Night 5
Credit: Christopher Polk/TAS/Getty

Taylor Swift ended her five-concert sold out run at L.A.'s Staples Center with a star-studded night of cameos from Justin Timberlake, Selena Gomez and Lisa Kudrow. Would you really expect anything less?

Gomez, one of Swift's main #GirlSquad members, joined her friend on stage in high-waisted hot pants, a black studded halter top with large choker while Swift wore a similar ensemble of white high waisted shorts and a matching strapless crop top.

Taylor Swift The 1989 World Tour Live In Los Angeles - Night 5
Credit: Christopher Polk/TAS/Getty

Selena Gomez surprised fans in Los Angeles, California.

Christopher Polk/TAS/Getty

Swift decribed Gomez as "multitalented performer who is good at pretty much everything she does" and the duo performed "Good for You." Watch a fan-uploaded video of the song:

Gomez took to Instagram to share a sweet picture of the pair on the stage. "After nearly 8 years of friendship, I just can't wait to tell our kids we ACTUALLY got to perform in front of thousands of insanely beautiful people together. TWICE! I love you Tay," she wrote in the caption:

Then Swift played tribute to one of her favorite songs and favorite animals with the epic ballad "Smelly Cat" from Friends. She invited Kudrow, whose character Phoebe made the song famous, to sing the hilarious tune with her. Watch their duet here:

Kudrow sent out a sweet Tweet later that night thanking Swift.

But somehow Swift managed to even top those performances with her last guest: Mr. Justin Timberlake. The Grammy winner came out to perform his hit "Mirrors" with Swift. She told the crowd it had been hard to keep Timberlake's appearance under wraps. "Anyone who knows me knows this is my favorite artist," she said.

The appearance was a rare one for Timberlake, who has been less active since he welcomed son Silas earlier this year with wife Jessica Biel (who was in the audience). "So Justin hasn't performed since he became a dad, so I'm just honored that this is his first performance," Swift reportedly told the audience. Watch a video from Swift's Instagram of them performing together:

The concert marked Swift's last performance at L.A.'s Staples Center. Her next show will be in San Diego on Saturday.

Related Video: Go Behind the Scenes With Taylor Swift and Her (Fourth!) InStyle Cover