In 1986, producers Lawrence Gordon and Joel Silver acquired film rights to "Watchmen" for 20th Century Fox. After author Alan Moore declined to write a screenplay based on his story, Fox enlisted screenwriter Sam Hamm. Hamm rewrote "Watchmen"s complicated ending, making a "more manageable" conclusion involving an assassination and a time paradox. Fox put the project into turnaround in 1991, and the project was moved to Warner Bros. Pictures, where Terry Gilliam was attached to direct and Charles McKeown to rewrite the script. Gilliam and Silver were only able to raise $25 million for the film (a quarter of the necessary budget) because their previous films had gone overbudget. Gilliam eventually left "Watchmen", describing the comic as "unfilmable", and Warner Bros. dropped the project.