How did the militia act affect african americans during the civil war?

Athe act required all freed slaves to join the union military.
Bthe act mandated that african americans be accepted into the military.
Cthe act banned african americans from serving in the union military.
Dthe act freed all enslaved people in lands under confederate control.