The law, signed by President Rutherford B. Hayes in 1878, prohibits direct involvement by federal troops in law enforcement. But it can be trumped by the Insurrection Act.