<P> The fourth season of Jane the Virgin aired on The CW from October 13, 2017 to April 20, 2018 . The season consisted of 17 episodes and stars Gina Rodriguez as a young Latina university student accidentally artificially inseminated with sperm from her boss, Rafael Solano (Justin Baldoni). In this season, Jane deals with her romantic feelings for Rafael while reuniting with an ex-boyfriend while Rafael loses ownership of the Marbella and gets back together with his ex-wife, Petra Solano (Yael Grobglas). Also, Rogelio de la Vega (Jaime Camil), Jane's father, is expecting a baby with an ex-girlfriend and marries Jane's mother, Xiomara Villanueva (Andrea Navedo). </P> <Ul> <Li> Gina Rodriguez as Jane Gloriana Villanueva </Li> <Li> Andrea Navedo as Xiomara "Xo" Gloriana de la Vega </Li> <Li> Yael Grobglas as Petra Solano / Anezka Archuletta </Li> <Li> Justin Baldoni as Rafael Solano </Li> <Li> Ivonne Coll as Alba Gloriana Garcia </Li> <Li> Elias Janssen as Mateo Gloriano Rogelio Solano Villanueva </Li> <Li> Jaime Camil as Rogelio de la Vega </Li> <Li> Anthony Mendez as the Latin Lover Narrator (voice over) </Li> </Ul> <Li> Gina Rodriguez as Jane Gloriana Villanueva </Li> <Li> Andrea Navedo as Xiomara "Xo" Gloriana de la Vega </Li>

When was season 4 of jane the virgin filmed