Afghanistan's state TV says the country's Supreme Court has ruled that President Hamid Karzai should remain in office until a new leader is chosen in a late summer election, even though the country's constitution says his term expires May 21.

The state TV announcement Sunday said the court ruled that the Afghan people would benefit from Karzai staying in office until the vote.

Karzai said Friday he expected an announcement within days from the court about the legitimacy of his remaining in power after May 21.

But confusion surrounded Sunday's announcement. The Supreme Court spokesman and a top justice both told The Associated Press they were not aware that a decision had been announced.