TEHRAN, Iran — Chanting “Death to America,” Iran’s parliament voted unanimously Sunday to increase spending on its ballistic missile program and the foreign operations of its paramilitary Revolutionary Guard, part of a sanctions bill mirroring a new U.S. law targeting the country.

While offering hundreds of millions of dollars in new funding, the lawmakers’ bill offered a tactic as old as the slogan shouted since the 1979 Islamic Revolution – using America’s own tactics against it.

The vote salves public anger in Iran over President Trump’s constant threats to renegotiate or abandon the nuclear deal struck by world powers under his predecessor. While lawmakers stressed the bill wouldn’t violate that agreement, it ensures that those both home and abroad know Iran will continue confronting America either in the Persian Gulf or legislatively, analysts say.

“They want to show that the pressure that the U.S. is exerting on Iran, they can respond with similar measures,” said Adnan Tabatabai, an Iran analyst based in Germany who is the CEO of the Center for Applied Research in Partnership with the Orient. “It’s not that important that those measures may not hurt the U.S. in the same way. … They want to show they are not just standing still and watching this happening.”

Parliament speaker Ali Larijani described the measure as just the first step the country could take.

The bill now heads to an oversight committee called the Guardian Council, which is expected to approve it. Abbas Araghchi, a deputy foreign minister and senior nuclear negotiator on hand for the vote, said moderate President Hassan Rouhani’s government supported the bill.

“The bill has very wisely tried not to violate the (nuclear deal) and also gives no chance to the other party to manipulate it,” he said in comments reported by IRNA. “This bill is an astute response to the enmity and wickedness of the United States against Iran.”

Under terms of the bill, some $800 million will be put toward several projects, including the Defense Ministry and its intelligence agencies. Among the agencies receiving money would be the Revolutionary Guards’ Quds force, an expeditionary force run by Gen. Qassem Soleimani, who has been advising forces in Syria and Iraq.

The Guard, separate from Iran’s conventional military forces, answers only to Supreme Leader Ayatollah Ali Khamenei.

The bill also imposes financial sanctions, as well as a visa and travel ban, on U.S. military and security organizations and their commanders who have provided financial, intelligence, military, logistic and training support to terrorists in the region, naming the Islamic State and the Syrian branch of al-Qaida. Lawmakers gave government authorities three months to give them names of people to put on a sanctions list, which will be updated every six months.

Iranian officials often accuse the U.S. of being involved with both extremist groups. The U.S. is actively involved in a massive military campaign against the Islamic State and has struck the al-Qaida affiliate as well.

The bill also includes banning visas for American officials involved with the Iranian exile group called the Mujahedeen-e-Khalq. Prominent U.S. lawmakers and politicians have met with the group and spoken at its rallies.