BBMAs 2018

Britney Spears to Guest Star on 'Jane the Virgin'

Denise Truscello/WireImage
Britney Spears celebrates 'Britney Day' event at The LINQ Promenade held to celebrate Spears' Las Vegas residency show 'Britney: Piece of Me'  on November 5, 2014 in Las Vegas, Nevada. 

The Marbella hotel is getting a visit from one of the biggest pop singers in the world.

Britney Spears is set to appear on an upcoming episode of Jane the Virgin, the entertainer announced on Tuesday via Twitter.

Spears will appear in the fifth episode of the upcoming second season as the nemesis of Jane's dad, telenovela star Rogelio De La Vega (Jaime Camil).

Britney Spears & Skrillex Hang Out Backstage With Her Kids

“We are so thrilled," said showrunner Jennie Snyder Urman in a statement. "Personally, after hearing about their long-standing feud (from Rogelio's point of view), we are eager to hear Ms. Spears' side of the story, which we assume is quite different. #TeamBritney”

Season one of the acclaimed CW comedy welcomed Rita Moreno, Paulina Rubio and Nia Vardalos.

In addition to her prolific pop career, Spears' acting credits include Crossroads, Glee, Will & Grace and a two-episode stint on How I Met Your Mother.

The new season of Jane the Virgin premieres Monday, Oct. 12, at 9 p.m. on The CW.

This article originally appeared on The Hollywood Reporter