BBC One has ordered a second series of Red Production Company’s Happy Valley.

Created by Sally Wainwright, the first series became a ratings hit, pulling in a consolidated audience of almost 8m.

“Sally created a truly magnificent series with very real, complex characters, an engaging plot and breathtaking storyline. I am delighted that we will be able to delve deeper into Catherine’s world in series two,” said Red Production Company founder and executive producer Nicola Shindler.

Shot in Yorkshire, the first series starred Sarah Lancashire as a police offer in a rural valley.

“Sally Wainwright’s sensational series gripped the nation. Visceral, emotional and provocative from beginning to end, it was fantastic to see our audience on tenterhooks, begging for more. The series is testimony to the creative ambition, quality and breadth of original British drama on BBC One and I can’t wait for the second series to return,” added Charlotte Moore, controller, BBC One.

The drama goes into production in 2015 and will be broadcast later in the year.

It is created, written and executive produced by Sally Wainwright, produced by Karen Lewis and directed by Euros Lyn and Sally Wainwright. Executive producers are Nicola Shindler for Red Production Company and Matthew Read for the BBC.

The Red Production Company is already in preproduction for a third series of Last Tango in Halifax, also for BBC One.