When Lieutenant Governor Thomas W. Wallace died on July 17, 1943, Hanley again became acting lieutenant governor. In the 1943 New York state election, he defeated Democrat William N. Haskell in a special election for lieutenant governor. He was reelected in 1946 and remained in office until the end of 1950. He was a delegate to the 1944 and 1948 Republican National Conventions.