On 23 December 2024, the
Corruption Eradication Commission (KPK) named Hasto as a suspect in a
graft case. He was alleged to have helped , a PDI-P politician, bribe Wahyu Setiawan, then one of the commissioners of the
General Elections Commission, in exchange for a seat in the House. Hasto was also accused of helping Harun elude the authorities. The case has been fraught with allegations of political retaliation and discriminatory prosecution, as Hasto has become a critic of President Joko Widodo's alleged interference in the
2024 Indonesian presidential election and the new KPK leadership had been handpicked by Jokowi. After his arrest, Hasto attempted to bring down Jokowi with him, as he urged the KPK to also look into Jokowi and his family for potential corruption. Hasto's arrest has also strained the relationship between President
Prabowo Subianto and Megawati.
Legal clemency Following a lengthy legal process, Hasto was found guilty and sentenced to three and a half years of prison by the Jakarta Corruption Court. However, President Prabowo submitted a letter to the House requesting legal clemency for Hasto, former trade minister
Thomas Lembong, and more than 1,000 other convicts. The proposal was then approved by the House and announced by Deputy Speaker
Sufmi Dasco Ahmad and Law Minister
Supratman Andi Agtas on 31 July 2025, with the latter citing "national interest, political unity and the individuals’ past contributions" as the reasons for the request. The move had been arranged behind closed doors and taken many by surprise. The move was widely seen as an effort to curb dissent and stabilize President Prabowo's first term in office. The decision meant that Hasto's will have his conviction wiped clean. The decision also came amidst rising political tensions between Prabowo and Jokowi, with both Hasto and Thomas being critics of Jokowi. == Personal life ==