Stand up for or support someone, as in
Thanks for taking my part against the supervisor. This idiom uses
part in the sense of "side in a dispute." It was first recorded in 1732, although a different version,
take part with, dates from the early 1400s. Also see
take sides;
take part.