Nelson Rolihlahla Mandela (born 18 July 1918) served as President of South Africa from 1994 to 1999, and was the first South African president to be elected in a fully representative democratic election. Before his presidency, Mandela was an anti-apartheid activist, and the leader of Umkhonto we Sizwe, the armed wing of the African National Congress (ANC). In 1962 he was arrested and convicted of sabotage and other charges, and sentenced to life in prison. Mandela served 27 years in prison.