Magnolia Pictures has bought all U.S. rights excluding TV to Douglas Tirola’s documentary “Drunk Stoned Brilliant Dead: The Story of the National Lampoon.”

The film was financed and produced by History Films, in association with Sky. Producers are Tirola and partner Susan Bedusa of 4th Row Films, while executive producers are Molly Thompson, Dirk Hoogstra, John Battsek and Celia Taylor.

Ben Koningsberg described the movie, which premiered at the Sundance Film Festival in January, as “briskly entertaining” in his review for Variety.

The script, written by Tirola and Mark Monroe, covers the period from the 1970s to the 1990s when National Lampoon pushed the limits of taste and acceptability. The magazine eventually went on to branch into successful radio shows, record albums, live stage revues and movies, including “Animal House” and “National Lampoon’s Vacation,” and helped launch the careers of John Belushi, Harold Ramis, Bill Murray and Gilda Radner.

The deal for the film was negotiated by John Von Thade with Cinetic Media on behalf of the filmmakers. Tirola is repped by WME.