Prince's iconic film was always going to live on, but now it will be officially preserved by the Library of Congress.

"Purple Rain" was announced as one of 25 movies added to the National Film Registry of the Library of Congress in Washington, D.C. this year.

The collection was established by the National Film Preservation Act of 1988. Every year, 25 films are chosen for "showcasing the range and diversity of American film heritage to increase awareness for its preservation."

RELATED: Prince's anticipated, posthumous memoir is ready for fans

RELATED: Prince estate slams Trump campaign for playing 'Purple Rain'

The 1984 autobiographical hit was added along with Spike Lee's 1986 "She's Gotta Have It," Disney's 1959 "Sleeping Beauty" and Kevin Smith's 1994 "Clerks," among others.

The Library of Congress said of "Purple Rain":

By 1984, Prince was already being hailed by critics and fans as one of the greatest musical geniuses of his generation. This post-modern musical secured his place as a movie star and entertainment legend. Largely autobiographical, “Purple Rain” showcased the late, great showman as a young Minneapolis musician struggling to bring his revolutionary brand of provocative funk rock to the masses. The film’s soundtrack includes such decade-defining tracks as “When Doves Cry” and the title song. The film’s multi-platinum soundtrack previously was named to the Library of Congress National Recording Registry.

RELATED: Film inspired by Prince's music in the works, report says

RELATED: The story of Prince's lost album 'Piano & A Microphone 1983'