In 1940, Petain agreed to head the Vichy government in occupied France. In April, 1945, he was arrested and charged with treason. Petain was found guilty of and sentenced to death for aiding the German enemy. The sentence was later commuted to life imprisonment. Henri-Philippe Petain died in prison in 1951.