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: 'Hate Seeing Animals Go Through That': Panicked Pup Finally Rescued After Months Running

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: Unmasked Crowd At Yuba City High School Basketball Game Leads to School District Investigation

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: 'One Chip Challenge': Social Media Trend Involving Spicy Chips Lands Lodi Students In Emergency Room

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