Ulysses S. Grant was elected the 18th president in 1868 as the Republican candidate supported by many black voters. During his presidency, the 15th Amendment was passed, guaranteeing voting rights for all citizens regardless of race. After the Civil War, the Republican-led public works programs rebuilt infrastructure across the South while the Southern Homestead Act aimed to provide land for freed slaves but largely offered unsuitable swampland.