<human>:  Who was the first president of South Africa?
<bot>: The first president of South Africa was Paul Kruger. Kruger was the leader of the South African Republic, which was a state that was formed after the Boer War. The Boer War was a war between the British and the Boers. The Boers were a group of people who lived in the southern part of South Africa. The Boer War ended in 1902, and after the war, the British annexed the southern part of South Africa.