 He was confirmed by the United States Senate on February 26, 1912, and received his commission the same day.His service terminated on October 13, 1921, due to his elevation to the Second Circuit.Mayer was nominated by President Warren G. Harding on September 22, 1921, to a seat on the United States Court of Appeals for the Second Circuit vacated by Judge Henry Galbraith Ward.