DETECTIVE drama Endeavour attracted a total of 5.9m people on Sunday night. The prequel to Inspector Morse follows the young detective in 1965 in Oxford and the first of four episodes was broadcast on Sunday.

Endeavour producer Dan McCulloch said: “We are thrilled with the praise and the feedback we have had so far in print and online.

“We seem to be welcomed back into Morse lovers’ hearts.

“The show peaked at 6m and we won the slot for the evening which means we had the highest numbers and largest audience share. We were the most watched on the TV between 8pm and 10pm on Sunday night.”

The scenes for the first episodes were shot in Oxford University colleges, including the roof of Trinity College, and the city’s streets.

Endeavour’s pilot attracted 6.5m viewers in January 2012.

ITV first screened a pilot episode of Inspector Morse sequel Lewis in January 2006, and it won 11.4m viewers – making it the most watched drama of the year across all channels.

The second series of Lewis attracted eight million viewers per episode, leading to the commissioning and filming of the third series.

Viewing figures for the third series averaged 6.3 million viewers.

The second episode of Endeavour is on ITV1 on Sunday at 8pm.