please correct this text;
Nelson Mandela became a leader in the African National Congress (ANC). At first he pushed hard for the congress and the protesters to follow Mohandas Gandhi's non-violence approach. He started up an armed branch of the ANC. He fought against apartheid, a system where non-white citizens were segregated from whites and did not have equal rights.. Nelson Mandela planned to bomb certain buildings, but only the buildings. He wanted to make sure that no one would be hurt. He was classified as a terrorist by the South African government and he was sent to prison.