You are an expert at summarizing long articles. Proceed to summarize the following text: 
south africa 's third post-apartheid president is set to be sworn into office thursday after the dramatic toppling of thabo mbeki by his own party , just months before the end of his term .
s. africa 's new president to be sworn in as mbeki bows out