Sen. Cotton released a statement saying that Qassem Soleimani "got what he richly deserved."

LITTLE ROCK, Ark — U.S. Senator Tom Cotton said Qassem Soleimani "got what he richly deserved" after an airstrike killed Soleimani and three others.

The strike happened Friday at Baghdad's international airport, according to Iranian state television and Iraqi officials.

“Qassem Soleimani masterminded Iran’s reign of terror for decades, including the deaths of hundreds of Americans," Cotton said. "Tonight, he got what he richly deserved, and all those American soldiers who died by his hand also got what they deserved: justice. America is safer now after Soleimani’s demise.”

The U.S. Department of Defense said that the airstrike happened "at the direction of the President" and that Soleimani was "actively developing plans to attack American diplomats and service members in Iraq and throughout the region."

After the death of Soleimani, the U.S. is urging its citizens to leave Iraq immediately and has closed the embassy in Baghdad.

Iran has said there would be "harsh retaliation" for the airstrike near Baghdad's airport.

"The US' act of international terrorism, targeting & assassinating General Soleimani-- THE most effective force fighting Daesh (ISIS), Al Nusrah, Al Qaeda et al-- is extremely dangerous & foolish escalation," tweeted Javad Zarif, Iran's foreign minister.

President Donald Trump said Friday that the U.S. "did not take action to start a war."

Following Soleimani's death, nearly 3,000 more U.S. Army soldiers are being sent to the Middle East.