New Jersey judge William J. Brennan was appointed to the Supreme Court by President Dwight D. Eisenhower in 1956 by a recess appointment. This was done in part with an eye on the presidential campaign that year; Eisenhower was running for reelection, and his advisors thought it would be politically advantageous to place a northeastern Catholic on the court. Brennan was promptly confirmed when the Senate came back into session. Eisenhower, in a recess appointment, designated Charles W. Yost as United States Ambassador to Syria.[4] Eisenhower made two other recess appointments, Chief Justice Earl Warren and Associate Justice Potter Stewart.
https://en.wikipedia.org/wiki/Recess_appointment