Although the putsch had failed, Hitler’s subsequent trial attracted huge publicity, providing him with a perfect opportunity to present his views to the nation. He was sentenced to five years but in fact served only nine months in prison, where he was comfortably lodged, allowed visitors – and provided with plenty of paper to write his book Mein Kampf.