The elite 501st Legion, led by Captain Rex, served under Anakin Skywalker in the early battles of the Clone Wars.