Twilight star Taylor Lautner will be joining BBC Three’s sitcom Cuckoo for its second series in a shock piece of casting.

Lautner will be replacing Andy Samberg, who plays title character in the oddball comedy.

Cuckoo won a record-breaking launch audience for BBC Three and also scooped a two British Comedy Award nominations when it debuted in 2012, but Samberg left the show after one series following the huge success of his Fox sitcom Brooklyn Nine-Nine.

It was widely thought that Samberg’s exit would mean curtains for the show, but Lautner’s casting has revived the series which also stars Inbetweeners’ Greg Davies, Helen Baxendale, Tamla Kari and Tyger Drew-Honey.

The second series picks up with Samberg’s character Cuckoo missing – presumed dead – in the Himalayas, and his young widow Rachel (Kari) mourning his loss.

Lautner is cast as “a handsome and mysterious young stranger” in Lichfield, who shakes up the fragile equilibrium.

“Cuckoo was one of BBC Three’s most stand out comedies, so I’m delighted to welcome it back with the addition of superstar Taylor Lautner joining the critically acclaimed Greg Davies and an outstanding British comedy cast for what will be one of the comedy treats of the year,” said BBC Three controller Zai Bennett.