It’s an 11th hour Elementary pickup, my dear Watson!

CBS has renewed up the Sherlock Holmes procedural for a sixth season, TVLine has learned.

Elementary was conspicuously missing from CBS’ sweeping renewal announcement in March, with the network doling out pickups to nearly all of its established dramas with the exception of Elementary. Although the Jonny Lee Miller-Lucy Liu series has seen its ratings erode considerably in recent seasons, it performs well internationally for CBS (a key factor in its renewal).

With Elementary set for the 2017-18 season, that leaves medical drama Code Black as the last remaining hour-long drama on the bubble for CBS.