At his trial, Princip said he did it because he loved his people. The Austrians thought it was a very bad crime, but they could not kill him because he was only 19 years old. The law in Austria-Hungary said only people older than 20 could be killed, even when the crime was as bad as killing royalty like Ferdinand. They said Princip must stay in prison for 20 years. During his time in the prison, one of his arms was amputated. He died in prison of tuberculosis and blood loss in 1918. 