Go look up Title 10 USC, Chapter 18.
At NO TIME did the troops assume day to day law enforcement operations.
I know that, BUT to bring them into the town at all in a support capacity requires much higher authority than the town sheriff.