A former top FIFA official caught up in a U.S. investigation of corruption in international soccer has won an appeal and been ordered to be detained in house arrest in his native Uruguay.

A local judge ordered Eugenio Figueredo to return to his home Thursday. The former president of the South American soccer confederation has pleaded guilty to fraud and money laundering charges.

The same judge had ordered Figueredo kept in custody before sentencing while the investigation proceeds. But the 84-year-old is in frail health, having just been released from a hospital after undergoing surgery.

Figueredo is also a former FIFA vice president and one of several top soccer officials charged by the U.S. Justice Department with accepting bribes in exchange for commercial rights to tournaments.