The government was actively involved with these issues long before people stood up and fought against them.
A quick example: the first time Congress ever overrode a presidential veto was for the 1866 Civil Rights Act, passed by Republicans over the wishes of Andrew Johnson.
Okay, I can't stop at one: To oppose the 1964 Civil Rights bill, Senators mounted the longest filibuster in the US history.