Charli XCX sends fans wild as she brings out Lorde for surprise Madison Square Garden gig as they party the night away with Troye Sivan and Emily Ratajkowski

Charli XCX thrilled fans this week when she brought New Zealand pop star Lorde out on stage at Madison Square Garden in New York City for a surprise duet.

The 32-year-old English pop star, who is currently on tour with Australian star Troye Sivan for their Sweat tour, surprised the delirious crowd by enlisting Lorde, 27, to sing with her.

The two talented megastars left the crowd screaming for more when they performed a surprise rendition of Charli’s hit single Girl, So Confusing.

The couple were later spotted partying the night away with Troye, 27, supermodel Emily Ratajkowski, 33, and American pop star Addison Rae, 23.

Charli shared a breathtaking photo gallery from the night on Instagram, showing her having the time of her life with her A-list girlfriends.

She provided the gallery with some exciting words, enthusiastically writing: ‘The biggest f**king apple of them all has sold out.’

Many of Charli’s famous friends were quick to respond in the comments, raving about the A-list photos.

Charli XCX (right) sent fans wild this week when she brought New Zealand pop star Lorde (left) on stage at New York’s Madison Square Garden for a surprise duet

The English pop star, 32, who is currently on tour with Australian Troye Sivan for their Sweat tour, surprised a cheering crowd by enlisting Lorde, 27, to sing along with her

The English pop star, 32, who is currently on tour with Australian Troye Sivan for their Sweat tour, surprised a cheering crowd by enlisting Lorde, 27, to sing along with her

“You were amazing last night,” wrote American fashion designer Marc Jacobs, with talk show host Andy Cohen adding: “We had a great time.”

Coinciding with her tour this week, Charli XCX released a new remix version of her BRAT album track Talk Talk, featuring Troye.

The duo will perform in various arenas across North America, including the Kia Forum in LA on October 15.

While the Sweat tour won’t be heading Down Under, Troye will return home in November for his first Australian headlining tour in five years.

On November 17, he kicks off his Something To Give Each Other tour in Perth, before travelling to Adelaide on November 19.

He then flies to the Sidney Myer Music Bowl in Melbourne for a performance on November 21. He then takes a few days off before his performance at Riverstage in Brisbane on November 26.

Charli shared a gallery of breathtaking photos on Instagram, showing her partying with some of her A-List friends. Pictured from left to right: Troye Sivan, Charli, Lorde and Addison Rae

Charli shared a gallery of breathtaking photos on Instagram, showing her partying with some of her A-List friends. Pictured from left to right: Troye Sivan, Charli, Lorde and Addison Rae

Charli later had a party with American star Emily Ratajkowski (left)

Charli later had a party with American star Emily Ratajkowski (left)