CAIRO, EGYPT — Khaled Hanafi, former minister of supply in Egypt, has been cleared of charges related to a probe into whether millions of dollars intended to subsidize farmers were instead used to purchase wheat that didn’t exist, according toReuters.

Hanafi was in charge of Egypt’s state grain buyer, the General Authority for Supply Commodities, in 2016, when the country’s parliament began an investigation into possible corruption in wheat buying.

Shortly after the investigation began, Hanafi resigned his post in August 2016 amid a separate controversy related to use of state funds, Reuters said.

According to Reuters, a memo from the public prosecutor indicated Hanafi had been cleared of charges, and the case was closed as of Dec. 12, 2017. Hanafi has denied any wrongdoing.