He was reelected in 1872 in a landslide victory, overcoming a split in the Republican Party that resulted in the formation of the Liberal Republicans, which nominated Horace Greeley to oppose him. He was succeeded as president by Republican Rutherford B. Hayes after the contested 1876 presidential election. Grant appointed four Justices to the Supreme Court of the United States during his presidency. When Grant took office, there were eight seats on the bench. He was reelected in 1872 in a landslide victory, overcoming a split in the Republican Party that resulted in the formation of the Liberal Republicans, which nominated Horace Greeley to oppose him. He was succeeded as president by Republican Rutherford B. Hayes after the contested 1876 presidential election. Grant appointed four Justices to the Supreme Court of the United States during his presidency. When Grant took office, there were eight seats on the bench.