BEVERLY HILLS, Calif. (AP)Britney Spears is getting ready to meet “Jane the Virgin.”

The pop singer will guest star in an upcoming episode of the Golden Globe-nominated series, The CW network announced Tuesday.

READ MORE: NYPD Officer Wilbert Mora Remains Hospitalized After Harlem Shooting; Sources Say Suspect Had Multiple Guns Hidden Under Mattress

The opportunity came about after “Jane’s” executive producer, Jennie Snyder Urman, heard Spears was a big fan of the show.

Spears will play herself, who happens to be Jaime Camil’s character, Rogelio de la Vega’s, nemesis.

READ MORE: 'I'm Very Cautious:' Harlem Community Responds To Adams' Plan To Restore Anti-Crime Unit

She will appear on the fifth episode of the second season which premieres Oct. 12 at 9pm ET/PT on The CW.

For more Entertainment news from CBS Local, click here

MORE NEWS: Scrap Metal Fire At Port Newark Sends Heavy Smoke Into Surrounding Neighborhoods

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)