Cast member Cory Monteith poses at the premiere of the second season of the television series &quotGlee&quot at Paramount studios in Los Angeles in this September 7, 2010 file photo. Series co-creator Ryan Murphy recently announced that &quotGlee&quot would end next season.

Posted Oct. 18, 2013, at 10:28 a.m.

LOS ANGELES — It looks like “Glee” will take its final bow next year.

The Fox drama will end its run after six seasons, Ryan Murphy, the series’ co-creator, said at a Paley Center for Media event honoring FX Networks on Wednesday night, according to TV Line.

Murphy, who also runs FX’s “American Horror Story,” said “Glee” star Cory Monteith’s drug-overdose death earlier this year forced him to rethink how to close out the show.

“The final year of the show, which will be next year, was designed around [Lea Michele] and Cory — Finn’s story,” Murphy said, as quoted by TV Line.

Story continues below advertisement.

“I always knew that, I always knew how it would end. I knew what the last shot was — he was in it,” Murphy said. “I knew what the last line was — she said it to him. So when a tragedy like that happens, you sort of have to pause and figure out what you want to do, so we’re figuring that out now.”

A spokesperson for Fox declined to comment on the report. However, Murphy’s reported remarks essentially confirm those made by Fox Entertainment Chairman Kevin Reilly at the Television Critics Assn. media tour this summer.

Ratings for the show this year have been low compared with last season’s. The season premiere drew about 5 million viewers and earned a rating of 2.0 in the key 18-49 age demographic, down more than 30 percent compared with the Season 4 opener.

However, a recent episode of “Glee” that paid tribute to Monteith brought in its best numbers so far this season, with its key demographic rating up 75 percent compared with the previous week.

The episode featured numerous emotional performances dedicated to the actor, including Lea Michele’s rendition of “Make You Feel My Love.”