The majority of legislators voted in favor of a five-year extension.
In South Africa, the National Assembly has elected the president Cyril Ramaphosa for the next season.
The majority of legislators voted in favor of the five-year extension, and the only significant challenger to Ramaphosa representing the ANC party in the vote, the EFF party Julius Malema only got less than 50 votes.
Ramaphosa is due to be sworn in next week, when he will also announce his new coalition government.
The ANC, which has ruled the country alone for 30 years, suffered an unprecedented defeat in last month’s elections, winning only about 40 percent of the vote and losing its majority in the National Assembly, the lower house of parliament.