Manila - Former Philippine president Gloria Arroyo was released from detention on Thursday following nearly five years in a military hospital after the Supreme Court dismissed her corruption charges, her lawyer said. The 69-year-old, who suffers from a spinal illness, was accused of stealing 366 million pesos ($8.8m) in state lottery funds meant for charity programmes while she was in office between 2001 and 2010.The Supreme Court threw out the case on Tuesday, citing insufficient evidence, but her release was delayed for procedural reasons. "It's a happy day today because she has just been freed," said Laurence Arroyo, who is also a distant relative through marriage. "Finally justice has been done." A convoy of vehicles carrying Arroyo, her supporters and lawyers left the suburban hospital compound near Manila, but she could not be seen from her car's tinted windows.Outside the gates of the hospital, supporters drenched by rain cheered Arroyo's release and carried placards reading: "We love Gloria."Arroyo returned to her home in a smart area of the capital minutes after her release. Laurence Arroyo said she may now seek medical treatment abroad for her disease.In a statement issued by her lawyers on Wednesday, Arroyo thanked the Supreme Court and newly-installed President Rodrigo Duterte for not standing in the way of her release. Another corruption chargeGovernment Ombudsman Conchita Carpio-Morales defended the decision to charge Arroyo for plunder, and said on Wednesday she was preparing another corruption charge against her.The former leader was jailed in 2011 under the administration of arch critic, then-president Benigno Aquino. Aquino questioned the ruling to free Arroyo on Thursday, saying she should be held accountable for the mismanagement of funds that were supposed "to alleviate the suffering of many of our countrymen". Duterte succeeded Aquino in June, and said he was willing to pardon Arroyo.Another of Arroyo's lawyers, Estelito Mendoza, had suggested that the Supreme Court waited until Aquino stepped down before issuing its ruling as a "courtesy" to Aquino.Arroyo was initially arrested on charges of electoral sabotage for allegedly conspiring with election officials to rig 2007 senatorial polls.Because of her illness, the government allowed her to be detained in a military hospital.She was granted bail for the vote-rigging case in July 2012 after the court - while not dismissing the charge - ruled evidence against her was weak. But the corruption case against Arroyo was lodged the same year, keeping her in detention.Despite being detained, Arroyo has won a seat in the House of Representatives in the past three elections, serving as a congresswoman while being held in the hospital.