Actually, the law that prevented the US from supporting anti-communist armies in Centra America during the Cold War was enacted as a result of blatant lies John Kerry spewed on the floor of the Senate after he visited Daniel Ortega in Nicaragua. Ironically, at the very same time Kerry was spewing these lies about there not being any communist involvement in Central America, Ortega was at that very moment in Moscow securing Nicaragua as a staging point for the communists' next proxy war to be fought right on our southern border in all the countries that border Nicaragua, and beyond.Actually, Reagan furnished weapons to Iran, and Reagan illegally provided funding and arms to insurgents Contras in Nicaragua. The furnishing of weapons to the Contra was forbidden by congressional enacted legislation.
Reagan should have been imprisoned for those actions, and impeached at the least but the Democrats never pursued those charges.
In 1985, while Iran and Iraq were at war, Iran made a secret request to buy weapons from the United States. McFarlane sought Reagan's approval, in spite of the embargo against selling arms to Iran.
Reagan had become frustrated at his inability to secure the release of the seven American hostages being held by Iranian terrorists in Lebanon.
While shipping arms to Iran violated the embargo, dealing with terrorists violated Reagan's campaign promise never to do so.
So, what do you do when the Democrats are the majority party in Congress and committing treason?