Joel McHale has signed on for the anticipated X-Files revival, Deadline reports.

The Community actor will guest-star in the six-episode season as Tad O'Malley, a popular conservative Internet news anchor who becomes an unlikely ally for Mulder (David Duchovny).

Though McHale is best known for his comedy work on Community and The Soup, he did a guest stint on Sons of Anarchy and starred in the horror film Deliver Us from Evil. X-Files creator Chris Carter is a apparently a fan of McHale's work, which led to his casting on the revival.

30 surprising stars who were on The X-Files before they were famous

The X-Files will premiere Sunday, Jan. 24 after the NFC Championship game on Fox.

TODAY'S VIDEO: Melissa Joan Hart recalls handing out drugs on the set of Can't Hardly Wait