In special elections held in June 1861, Unionists captured nine of Kentucky's ten congressional seats and obtained two-thirds majorities in both houses of the state legislature. Despite Magoffin's strict adherence to the policy of neutrality, the Unionist legislature did not trust him and routinely overrode his vetoes. Unable to provide effective leadership due to a hostile legislature, Magoffin agreed to resign as governor in 1862, provided he could choose his successor. Lieutenant governor Linn Boyd had died in office, and Magoffin refused to allow Speaker of the Senate John F. Fisk to succeed him as governor. Accordingly, Fisk resigned and the Kentucky Senate elected Magoffin's choice, James F. Robinson, as speaker. Magoffin then resigned, Robinson ascended to the governorship, and Fisk was re-elected as Speaker of the Senate.