Fears about the Republican takeover of Congress have plagued Iranian leaders for weeks, according to the CIA analysis obtained by the Washington Free Beacon that outlines internal commotion in Iran over the shifting political tides in the United States.

The eventual outcome of Tuesday’s elections prompted many Iranian commenters and officials to express concern that years of U.S. capitulation to Iranian demands might soon come to an end.

Republican gains in Congress appear to have motivated Iran to work harder toward inking a nuclear deal with the Obama administration before the lame duck legislative session concludes, according to an official analysis by the CIA’s Open Source Center authored ahead of the midterm elections.

Some Iranians are now betting that the White House will fully lift sanctions before the new Congress assembles and that it will also sign a deal that permits Tehran to continue enriching uranium, the key component in a nuclear weapon.