Who was the US president in 1877?

The 18th President of the United States was Ulysses S. Grant. President Grant was in office from March 4, 1869 to March 4, 1877.