The presidency of Calvin Coolidge began on August 2, 1923, when Calvin Coolidge became President of the United States upon the sudden death of Warren G. Harding, and ended on March 4, 1929. A Republican from Massachusetts, Coolidge had been Vice President of the United States for 2 years, 151 days when he became the 30th President of the United States. Coolidge also signed the Immigration Act of 1924, which greatly restricted immigration into the United States. In foreign policy, Coolidge continued to keep the United States out of the League of Nations, but he engaged with foreign leaders and sponsored the Kellogg–Briand Pact of 1928. Vice President Coolidge was visiting his family home in Vermont when he received word by a messenger of Harding's death. Coolidge's father, a notary public, administered the oath of office in the family parlor at 2:47 a.m. on August 3, 1923. In 1926, the Senate eventually approved joining the Court (with reservations). The League of Nations accepted the reservations, but it suggested some modifications of its own.