South Africa's highest court has ruled that President Jacob Zuma violated the constitution when he failed to repay some of the government money used to upgrade his private home.
The treasury had 60 days to determine how much he should repay, it added.
The ruling is a victory for the opposition, which said it would push for Mr Zuma's impeachment.
It accused him of using "ill-gotten wealth" to upgrade his home with a swimming pool and amphitheatre.
Mr Zuma denied any wrongdoing. He has not yet commented on the ruling.
An anti-corruption body, known as the public protector, ruled in 2014 that $23m (£15m) had been spent on his rural home in Nkandla in South Africa's KwaZulu-Natal province.
Mr Zuma had "unduly benefited", and should repay a portion of the money, the public protector said.
In a unanimous judgement, the Constitutional Court said Mr Zuma's failure to heed the directive was "inconsistent" with the constitution.
"The president failed to uphold, defend and respect the constitution of the Republic," it added.
The case was brought by two opposition parties, the Economic Freedom Fighters (EFF) and the Democratic Alliance (DA).
Mr Zuma's conduct constituted "grounds for impeachment", the DA said in its reaction to the judgement.
Latest Stories
-
KNUST appoints Kwasi Debrah as Digital Communications Officer
12 minutes -
Volta Region to receive fair share of appointments in Mahama’s gov’t – V/R NDC Chairman
18 minutes -
Timely and strategic approach to revitalise Ghana’s agricultural sector is needed – Klutse Kudomor
22 minutes -
Fuel supply, financial challenges top priorities for energy sector – John Jinapor
27 minutes -
We won’t engage in sole sourcing for ECG private sector participation – Energy Minister-designate
32 minutes -
Photos from John Jinapor’s vetting for Energy Minister role
46 minutes -
Public procurement and corruption in Ghana: Challenges and sustainable solutions
57 minutes -
Seize campaign activities, work on rebuilding party – NPP Council of Elders tells members
1 hour -
We don’t intend to privatise VRA and Bui Power – John Jinapor
1 hour -
Import substitution strategies in the 24-Hour Economy: A catalyst for Ghana’s practical economic growth
2 hours -
Chamber of Aquaculture urges President Mahama to nominate a Minister with agribusiness expertise
2 hours -
Energy Minister-designate sets 6-months for ECG private sector involvement framework
2 hours -
Mahama should scrap deputy ministerial position for tourism
2 hours -
Global economy remains resilient, to grow by 3.2% in 2025 – OECD
2 hours -
I’ll focus on the development of the real sector – Dr Ato Forson
2 hours