The scheme foundered. Costing over US$19 billion, the program left Thailand with millions of tonnes of rotting rice in warehouses and a government engulfed by allegations of corruption. In its final year, government financing for the scheme dried up, leaving hundreds of thousands of farmers unpaid. A military government took power on 22 May 2014. In early-May, prior to the military coup, the National Anti-Corruption Commission (NACC) found Yingluck at least partially responsible for corruption related to the scheme. In June 2014, the military government put an end to the price-support program.