“Jane the Virgin” is coming to an end. Wednesday’s Season 5 premiere will be the first of the final episodes, but some fans are asking why the show is going off the air.

The CW did not cancel “Jane the Virgin.” The decision to end the show was a creative one, and it’s a call executive producer Jennie Snyder Urman made several years ago. She’d told the network and star Gina Rodriguez about her five-season plan during Season 3, and she determined the story’s endpoint even earlier.

“It’s the ending I pitched when I pitched the show,” Snyder told the New York Times last year. “I couldn’t have pitched them a million of the details that have happened along the way, and it doesn’t have to do so much with the plot and with all the twists and turns. But the overall structure and what I wanted to say about certain things — structurally, that’s built into the ending.”

However, fans still have an entire final season to enjoy before the series finale, which is also the series’ 100th episode. “Jane the Virgin” will pick up with last year’s cliffhanger where Michael (Brett Dier) was revealed to be alive. The Jane-Raphael-Michael love triangle could make a comeback while audiences are also still waiting to find out who J.R. (Rosario Dawson) shot.

Snyder Urman teased some other big twists this year. She told TVLine that there would be a midseason wedding, another pregnancy and death. However, most importantly, there will be an ending.

“I really just want to give a sense of closure,” she said. “I want the audience to feel like they’ve been told a story, because that’s always been so essential to the DNA of Jane. She’s a storyteller, [and] this is a story. You have the narrator leading you through it. So I wanted them to feel like they’ve reached the end, to stop saying, ‘To be continued,’ and now you’re at the end.”

“Jane the Virgin” Season 5 premieres Wednesday at 9 p.m. EST on The CW.

Jane the Virgin canceled "Jane the Virgin" will end with Season 5. Photo: Scott Everett White/The CW