Happy Valley's thrilling finale aired on BBC One last night - were you watching?

The six-part crime series, based in Sowerby Bridge and filmed across Halifax and Huddersfield has had viewers at the edge of their seats as no-nonsense cop Sgt Catherine Cawood, played by Sarah Lancashire, hunted down psychopath Tommy Lee Royce - with shocking consequences.

And TV detectives are in healthy supply on the small screen - from Inspector Morse to Midsomer Murders, Vera to Sherlock, The Wire to The Sweeney, we love a good crime drama.

Click below for a gallery of iconic TV detectives

But how well do you know your TV detectives and small-screen crime fighters?

Click below to test your knowledge with our quiz

Question -1 of 15Score -0 of 0
An oldie but a goodie - Magnum P.I starred Tom Selleck as Thomas Magnum, a private investigator working in Hawaii. What was the name of the beachfront estate where Magnum was hired as head of security?
 

Don't forget to share your score on Facebook and Twitter.

Click here for more Happy Valley news, including a spotlight on Sarah Lancashire, a look at real-life Happy Valleys around the world and 20 things you might not know about the BBC One series

Click here to take you back to more What's On news .

To follow us on Twitter click here