Havel was quite popular throughout his career. However, some of his actions caused controversy and criticism. One of his first acts as a president was to pardon many people. He wanted to reduce the number of people in overcrowded prisons and release people who had been put in prison during the Communist era even though they were innocent. He did not trust the decisions of a corrupt court of the previous government. He thought the courts had been unfair to most people in prison. Critics said that this amnesty caused more crime. In his memoir, "To the Castle and Back", Havel wrote that most of the people he released had less than a year left to stay in prison. Statistics about this are not clear.