Ousted Egyptian president Hosni Mubarak waves to his supporters outside the area where he is hospitalized during his birthday at Maadi military hospital on the outskirts of Cairo on May 4, 2015. Reuters/Mohamed Abd El Ghany

An Egyptian court on Saturday sentenced former Egyptian president Hosni Mubarak to three years in prison on corruption charges after a retrial in Cairo. It was not clear whether the sentence will include the time Mubarak has already served, the Associated Press reported.

According to the court order, which also includes a 125 million Egyptian pound ($16.3 million) fine, Mubarak's sons Gamal and Alaa were given four years of imprisonment each in the same case, which centers on the embezzlement of millions of dollars over the course of a decade. The court's decision can be appealed, a lawyer for Mubarak reportedly said.

The funds, which were meant to pay for renovation of presidential palaces, were allegedly spent by Mubarak and his sons on maintaining their private residences, AP reported, adding that several supporters of the 87-year-old autocrat shouted in anger as the judge announced his verdict.

In January, an Egyptian court had ordered a retrial in the $17 million embezzlement case dropping the only remaining charge against him. The court had also overturned the convictions of his two sons, reportedly noting that legal procedures had not been followed properly.