The Office star will take on the role of Harry Mudd, which was first played on TV by Roger C. Carmel.

Star Trek: Discovery will premiere this summer (17) and feature Sonequa Martin-Green, Michelle Yeoh, Anthony Rapp, Doug Jones, and James Frain, while Harry Potter villain Jason Isaacs was announced as the latest Star Trek captain two weeks ago.

The Brit, who played evil Lucius Malfoy in the Potter movies, has been cast as Captain Lorca in the upcoming sci-fi series.