The writer/director took to Facebook to celebrate.

Terry Gilliam finally knocked down the windmill. After nearly two decades of work, several failed attempts and any number of different actors attached to the project, “The Man Who Killed Don Quixote” has finally wrapped production. Gilliam — whose efforts to loosely adapt Miguel de Cervantes’ timeless novel inspired the documentary “Lost in La Mancha” — marked the occasion with a celebratory Facebook post.

READ MORE: ‘The Man Who Killed Don Quixote’ Hits Yet Another Snag as Production Company Deems It ‘Patently Illegal’

“Sorry for the long silence. I’ve been busy packing the truck and am now heading home,” he wrote. “After 17 years, we have completed the shoot of THE MAN WHO KILLED DON QUIXOTE. Muchas gracias to all the team and believers. QUIXOTE VIVE!”

READ MORE: Terry Gilliam Has Begun Shooting ‘The Man Who Killed Don Quixote,’ For Real This Time

Jonathan Pryce and Adam Driver star in the film, which was announced at Cannes last year; Jean Rochefort, Johnny Depp, Robert Duvall, Ewan McGregor and many others were previously involved.

Stay on top of the latest breaking film and TV news! Sign up for our Email Newsletters here.

Sign Up: Stay on top of the latest breaking film and TV news! Sign up for our Email Newsletters here.