Thousands protested the bill at the state capitol.