JOHANNESBURG, South Africa, Capital Markets in Africa — Standard & Poor’s halved its 2016 growth forecast for South Africa as it warned that pressure on the nation’s credit rating comes mainly from a slow economic expansion.

The rating company cut its growth forecast for this year to 0.8 percent, in line with that of the central bank, from 1.6 percent, and reduced its estimate for 2017 to 1.8 percent from 2.1 percent, according to an e-mailed statement on Wednesday. The revisions were prompted by the fall in commodity prices, the drought, depreciating rand and weak confidence, which was eroded further by the removal of Nhlanhla Nene as finance minister in December, S&P said.

Pressure on South Africa’s BBB- credit rating comes primarily from slow growth, S&P Associate Director Gardner Rusike said at a conference in Johannesburg on Wednesday. State-owned companies and an increase in external imbalances could put further pressure on the rating, he said.

Africa’s second-largest economy risks losing is investment-grade credit rating with the slowest pace of growth since the 2009 recession and government debt that probably rose to more than 50 percent of gross domestic product in the year through March 31, according to the National Treasury. The rand lost 25 of its value against the dollar last year, adding to consumer prices which are already fuelled by the worst drought in more than a century. Inflation accelerated to an almost seven-year high of 7 percent in February.

“Steps to address growth issues are moving at a slower pace,” Rusike said. “If they moved at a faster pace it would help us believe in the medium-term growth potential of the economy.”

S&P has a negative outlook on its rating, which is one level above junk. Moody’s Investors Service rates South Africa’s debt one level higher, also with a negative outlook, and the company put the nation’s assessment on review for a downgrade last month.