Adolf Hitler was sentenced on April 1, 1924, to the minimum allowable sentence of five years at Landsberg Prison after he was found guilty of high treason, following his failed 1923 "Beer Hall Putsch".
While at Landsberg prison, Hitler was treated as a privileged prisoner, receiving visitors, gifts and dictating the first volume of his autobiography and political manifesto, Mein Kampf ("My Struggle"). He was deemed eligible for parole almost immediately and received an early release from sympathetic authorities. serving less than nine months.
The trial provided Hitler the opportunity to sell his extremist ideas to the German public and to frame himself as a patriot, acting against the government. His conviction and sentence gave him national publicity and the opportunity to promote an image of a populist leader, as he refined his tactics for seizing power.