Why was Nelson Mandela in Jail?

Nelson Mandela was the president of South Africa. He went to prison for charges of sabotage when he led the movement against apartheid. Nelson Mandela spent 27 years behind bars.