After lengthy negotiations, Neil Patrick Harris has closed a deal to topline Netflix’s series adaptation of Lemony Snicket’s A Series Of Unfortunate Events. The project, from Paramount TV-produced project, is directed by Barry Sonnenfeld.

Narrated by Snicket, A Series Of Unfortunate Events recounts the tale of the orphaned children Violet (Malina Weissman), Klaus (Louis Hynes) and Sunny Baudelairseries-unfortunate-events-netflixe at the hands of the villainous Count Olaf (Harris), as they face trials and tribulations, misfortunes and an evil uncle in search of their fortune, all in their quest to uncover the secret of their parents’ deaths.

In the 2004 movie, Count Olaf was played by Jim Carrey. Filming on the Netflix series is eyed to begin this month in Vancouver.

This marks Harris’ following series to CBS’ long-running comedy How I Met Your Mother, which earned him four Emmy nominations. Harris, who most recently hosted NBC’s variety show Best Time Ever, won four Emmys for hosting the Tony Awards and another Emmy for his guest-starring stint on Glee. Harris, who also hosted the 87th annual Academy Awards, and won a Tony for his performance in the Broadway revival of Hedwig And The Angry Inch. In features, he will next begin production on Alexander Payne’s Downsizing, which is slated to begin production this spring.

Harris is repped by CAA and Bloom Hergott. ​