All good things must come to an end, even excellent procedurals based on the deductive adventures of Sherlock Holmes.

Deadline reports that Elementary will end after its upcoming 13-episode season. This news comes one week after the show reportedly wrapped shooting for Season 7. Luckily, if you're worried you'll be left hanging thanks to a cliffhanger cancellation, never fear. Apparently the renewal for the show's seventh season came with the understanding that it would be the series' last, so those pesky loose ends will be tied up when it all comes to an end.

"A lot of parties came together and talked about their positions on the show — both in terms of business and in terms of creative — and we all decided that this was an opportune time to say goodbye to a show that has been very, very good to us," said CBS Entertainment President Kelly Kahl.

In addition to a stellar final run, we can also apparently look forward to a bit of a time jump in Season 7, says creator and showrunner Rob Doherty.

Discover your new favorite show: Watch This Now!

"Something that I knew I wanted to do was move forward in time a bit with the characters by the very end," Doherty said, hinting that they took some inspiration for Season 7 from the books. "There was a period when Sherlock and Watson were not together, they went down very different paths, and their lives were very different from having been apart. We felt that would be appropriate for our show. A lot was Season 7 working towards that, how can we tell a larger story that would allow us to devise a finale that sets in not so distant future."

Elementary will return in the spring of 2019 on CBS.

(Disclosure: TV Guide is owned by CBS)

PHOTOS: Holiday Gift Guide for Fans of Game of Thrones, Riverdale, The Walking Dead, Legacies and more

Holiday Gift GuideHoliday Gift Guide