Crime drama Bones will come to an end after 12 seasons.
The long-running US series, which stars Emily Deschanel and David Boreanaz, has been given a lifeline to continue for a twelfth and final season.
Bones has faced difficult economic periods and has been threatened with cancellation numerous times, something that hasn't been forgotten by the show's creator, Hart Hanson.
"It just shows what you can do with an amalgam of genius cast, amazing crew, cunning writers, stalwart studio, sweat, a tough economy, a mercurial network, determination, luck, magic, miracles, and the most loyal audience in the world," Hanson said in a statement.
Both Deschanel and Boreanaz say the final series will be for the fans.
"I am thrilled the show will have the ending it deserves for all of our amazing, loyal fans!," Deschanel said.
The writers say with the knowledge the show will continue after season 11, it gives them more leeway to write a more developed storyline to finish on.
The twelfth season will be shorter than expected, only running for 12 episodes.
Bones is shown in New Zealand on Prime.
Boreanz took to social media to thank fans shortly after news of the show's 12th season was announced.
"Thank you Fans. Above and Beyond," he tweeted.
- AAP