A year and a half after word leaked that The Simpsons creator Matt Groening would be tackling an animated comedy for Netflix, the streaming giant is making it official.

The company announced Tuesday that it has officially picked up 20 episodes of adult animated comedy fantasy Disenchantment.

The series, news of which first leaked in January 2016, takes place in a crumbling medieval kingdom called Dreamland. The series follows the misadventures of hard-drinking young princess Bean, her feisty elf companion Elfo and her personal demon Luci. Along the way, the trio will encounter ogres, sprites, harpies, imps, trolls, walruses and more of what Netflix called "human fools."

Broad City star Abbi Jacobson will voice Bean, while Nat Faxon will take on the role of Elfo, and Eric Andre is set as Luci. Additional voice cast includes John DiMaggio, Billy West, Maurice LaMarche, Tress MacNeille, David Herman, Matt Berry, Jeny Batten, Rich Fulcher, Noel Fielding and Lucy Montgomery.

The first season of 10 episodes will premiere in 2018. Animation is being done by Rough Draft Studios (Futurama). The series is produced by The Ululu Company, with Groening and Josh Weinstein (The Simpsons, Futurama) executive producing.

"Ultimately, Disenchantment will be about life and death, love and sex, and how to keep laughing in a world full of suffering and idiots, despite what the elders and wizards and other jerks tell you," Groening said.

Disenchantment marks the latest animated comedy for Netflix and joins a roster that includes BoJack Horseman and F Is for Family.

"Matt Groening's brilliant work has resonated with generations around the world and we couldn't be happier to work with him on Disenchantment," said Cindy Holland, vp originals at Netflix. "The series will bear his trademark animation style and biting wit, and we think it's a perfect fit for our many Netflix animation fans."

The series comes as Groening's The Simpsons is heading into its 29th season on Fox and is already renewed through season 30 — meaning it will break the record for most episodes of a scripted TV series.