President Cyril Ramaphosa is of the view that municipalities must perform better after the upcoming polls.

With two weeks to the vote, Ramaphosa said the African National Congress (ANC) is prepared to acknowledge its shortcomings and not defend the indefensible.

ALSO READ: ANC receives confirmation from IEC that its candidates will be included on ballot

On Monday, the party marked 49 years since Black Wednesday, when the apartheid government shut down critical media voices who were advancing the cause for freedom.

Addressing the event, Ramaphosa said this year's polls also present a moment of reflection on how far the country has come since its dark past.

President Ramaphosa said the ANC has strengthened its candidate selection process to ensure its representatives are competent to represent communities.

He said the party should not merely be judged for what it said ahead of these elections, but on how it delivers afterwards.

Reflecting on his experiences on the campaign trail, Ramaphosa said the disappointment of voters should not be mistaken for hostility.

"Sometimes those who criticise us most strongly are those who have invested the greatest hope in our movement," he said. "They want us to succeed because they want their communities and their country to succeed."

Ramaphosa said that as the traditional media industry experiences a decline in resources as funding dries up, it still plays an indispensable role in keeping the electorate informed and holding those in power accountable.

"Those of us who occupy positions of leadership must be prepared to accept criticism," he said.

"We must internalise it. We must know that it is part and parcel of the positions we hold."

Ramaphosa added that a free press remains a cornerstone of a thriving democracy, without which communities will lose their voices and their access to information.

Never miss a major story. Get breaking news and the latest developments from South Africa and beyond as they happen.