In late April 1980, he was tapped by President Jimmy Carter to serve as secretary of state, following the resignation of Cyrus Vance. Vance had opposed Operation Eagle Claw, a secret rescue mission intended to rescue American hostages held by Iran. After that mission failed with the loss of eight U.S. servicemen, Vance resigned. Muskie was picked by Carter for his accomplishments with senatorial foreign policy. He was appointed and soon after confirmed by the Senate on May 8, 1980 by a margin of 94–2.