Despite vehement opposition from the American Medical Association, Medicare and Medicaid were passed into law in 1965. Importantly, the federal government required participating hospitals to comply with the non-discrimination rules of the Civil Rights Act of 1964.