When hunger drew tens of thousands of Venezuelans to the streets last summer in protest, President Nicolas Maduro turned to the military to manage the country’s diminished food supply, putting generals in charge of everything from butter to rice.

But instead of fighting hunger, the military is making money from it, an Associated Press investigation shows. That’s what grocer Jose Campos found when he ran out of pantry staples this year. In the middle of the night, he would travel to an illegal market run by the military to buy corn flour — at 100 times the government-set price.