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: 86-Year-Old Woman Hit, Killed By Car On Malden Sidewalk

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: Offshore Wind Project Off Martha's Vineyard Nears Approval

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: Parents Devastated By Crash That Killed 17-Year-Old Natick Boy

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