Iran launched more than a dozen ballistic missiles at two military bases in Iraq where U.S. and coalition forces are housed late Tuesday evening, according to multiple news reports.

There were no immediate reports of fatalities. Iran warned the United States and its allies not to retaliate.

Iranian state TV said the attack was to avenge the U.S. killing of Revolutionary Guard Gen. Qassem Soleimani, whose funeral procession Tuesday in his hometown of Kerman prompted angry calls for revenge.

Read more: Iran Strikes Back At US With Missile Attack At Bases In Iraq

At a campaign event in Brooklyn, New York, Massachusetts Sen. Elizabeth Warren told the crowd that her prayers are with the servicemen and women in Iraq and their families.

"This is a reminder why we need to de-escalate tension in the Middle East," she added. "The American people do not want a war with Iran."

Read more: Rep. Joe Kennedy: After Iran Missile Strikes, We Must Repeal Authorization For Military Force In Middle East

Boston Mayor Marty Walsh, speaking at an unrelated event Tuesday evening, said his thoughts are with the U.S. service members stationed in Iraq.

"The people of Boston, our prayers and thoughts are all with the servicemen and women who are protecting our country right now in a foreign land, who are under attack," Walsh told WGBH News.

Members of the Massachusetts U.S. congressional delegation spoke out online in reaction to the attack.

"We must not get drawn into a war with Iran," Sen. Ed Markey tweeted. He blamed President Donald Trump's "disregard for the lives of our U.S. servicemembers, civilians, and allies with his dangerous escalation of conflict with Iran."

"This attack represents a serious escalation in tensions between the U.S. and Iran and has put our brave service members at risk," Rep. Richard Neal wrote. "I urge the Trump admin & Iranian govt to take a step back from the brink & exercise restraint to prevent a further intensification of hostilities."

"This does not look like security for Americans," Rep. Katherine Clark tweeted. "Praying for all those in harm’s way especially our service members and their families. We must de-escalate this dangerous situation."

"Tonight I’m praying for our brave servicemen and women and diplomats in Iraq, as well as their families here at home," Rep. Lori Trahan wrote.

"I'm closely monitoring the situation in Iraq and praying for the safety of our servicemembers, diplomats, and other U.S. personnel," Rep. Jim McGovern wrote. He also tweeted that President Trump's "dangerous escalation of tensions w/ Iran has now put U.S. troops in the line of fire. His disregard for their safety and lack of any plan to deescalate this crisis has made America less safe and greatly increased the chances of miscalculation on both sides."

WGBH News' Isaiah Thompson contributed to this report.

Material from the Associated Press was used in this report.