BBC1 drama Waterloo Road is to be axed following a 10th series after "reaching the end of its life cycle".
The programme, set in a school, was launched in 2006 and has featured stars such as Denise Welch, Chelsee Healey and Angela Griffin among its cast.
Announcing the end of the show, BBC1 controller Charlotte Moore said it was "important to make room for new dramas".
The programme survived a move of filming locations when it uprooted from its original home in Rochdale, Lancashire, to head to Greenock in Scotland.
A further 20 episodes are still to be screened with half in the autumn and the remainder next year.
The BBC is understood to be working on a new drama to launch in the same 8pm time slot.
Ms Moore said the BBC was "incredibly proud" of the show but went on: "We believe it has reached the end of its life cycle and won't be returning after series 10 finishes in 2015.
"On BBC1 it's important to make room for new drama and we are committed to commissioning new drama series for 8pm. There are some really exciting ideas currently in development but nothing to confirm yet."
Donalda MacKinnon, the head of programmes for BBC Scotland, said one of the reasons for moving the production was to boost drama production skills in the area, adding that the original commitment to 50 hours of programming was increased by 20 hours.
"It's always sad when any long-running show comes to an end and I know the Waterloo Road team will miss Greenock - as will fans of the show.
"Our firm aim now, however, is to use that to continue growing the TV and the wider creative sector here in Scotland, utilising the increased skill base arising from Waterloo Road to build up future home-grown culturally representative output."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article