The Iran-Contra Affair was a political scandal that occurred in the mid-1980s, involving the Reagan administration's secret sale of arms to Iran and the diversion of the proceeds to fund the Contra rebel groups in Nicaragua, in violation of federal law.