Community has been cancelled after five seasons by NBC.

The campus comedy will not be renewed for a sixth season after five seasons of underwhelming ratings, Variety reports.

The show's star Joel McHale took to Twitter after news of its cancellation, writing simply "#darkesttimeline", a reference to a bleak alternate reality within the show.

He added: "Thanks Community fans for being the greatest that have ever walked the earth & Thanks @danharmon for letting me be on the coolest show ever."

It has been suggested that Community could move to another network or to a streaming service to cater to its die-hard fanbase, but there has been no confirmation on these reports.