The Reconstruction Amendments (13th, 14th, and 15th) passed after the Civil War were primarily intended to: