President Donald Trump ordered a drone strike that killed a top Iranian military commander last month in response to past attacks, the White House said in a memo released on Friday, despite previous administration assertions that it was due to an imminent threat. As required by law, the administration sent Congress an unclassified justification for the strike on Jan. 2 that killed Qassem Soleimani at the airport in Baghdad. The strike, and Iran’s retaliation, raised fears of wider war and frustrated some lawmakers who said Trump had given them shifting justifications for the attack. “The President directed this action in response to an escalating series of attacks in preceding months by Iran and Iran-backed militias on US forces and interests in the Middle East region,” the report to Congress said. The House of Representatives Foreign Affairs Committee released the memo a day after the US Senate, in a rebuke to Trump, passed legislation with rare bipartisan support to limit the president’s ability to wage war against Iran. The report said the purposes of the action were to protect US personnel, deter Iran, degrade Iranian-backed militias’ ability to conduct attacks and “end Iran’s strategic escalation of attacks.” It also said the US constitution gives the president the right to direct the use of force to protect the country from an attack or threat or imminent attack. And it said an Authorization for the Use of Military Force that Congress passed in 2002, for the Iraq War, also applied. Democratic Representative Eliot Engel, chairman of the Foreign Affairs Committee, said the memo contradicted Trump’s previous assertion that the strike prevented an imminent attack and said lawmakers needed more answers.