Iran said an Israeli attack targeted military sites in the Islamic Republic on Saturday, killing two soldiers, almost a month after Israel vowed to avenge a missile barrage that raised fears of a full-scale Middle East war.

The Israeli military said its retaliatory air strikes hit Iran's missile manufacturing facilities, missile installations and other systems in several regions. It warned Iran it would "pay a heavy price" if it responded.

Iran confirmed an Israeli attack had targeted military sites in Tehran province surrounding the capital, and other parts of the country, saying it caused "limited damage." The armed forces said later that two soldiers were killed in the strikes.