The U.N. Security Council has unanimously endorsed the landmark nuclear deal between Iran and six world powers.

The resolution, co-sponsored by all 15 council members and adopted Monday morning, also authorizes a series of measures leading to the end of U.N. sanctions that have hurt Iran's economy.

But the measure also provides a mechanism for U.N. sanctions to "snap back" in place if Iran fails to meet its obligations.

The resolution had been agreed to by the five veto-wielding council members, who along with Germany negotiated the nuclear deal with Iran.