You are an expert at summarizing long articles. Proceed to summarize the following text: 
south africa 's parliament thursday elected the deputy leader of the ruling party , kgalema motlanthe , as president , the chief justice of the constitutional court said .
south african parliament elects motlanthe as president