After the Great Chicago Fire (which wasn't started by Mrs O'Leary's cow btw) the Chicago government declared martial law and voluntarily handed power over to the military. There were no major disturbances or resistance, and civilian leadership was restored a few days later.