Dog Day Afternoon
The movie was based on the story of John Wojtowicz.  It keeps the basic facts of what happened, according to the Life article "The Boys in the Bank". According to the article, Wojtowicz, along with Sal Naturile, held up a Chase Manhattan Bank branch in Brooklyn, New York on August 22, 1972.