enacted in the wake of the civil war, the federal congress passed the posse comitatus act intended to prohibit federal troops and militia from supervising elections. this act substantially limits the powers of the federal government to use the military serving on active duty under title 10 for law enforcement, but does not preclude governors from using the national guard in a law enforcement role as long as the guardsmen are serving under title 32 or on state active duty.