In walking, gravity tends to tilt pelvis and trunk to the unsuppoed side, major factor in preventing this unwanted movement is:
Gluteus medius and minimus
Adductor muscles
Quadriceps
Gluteus maximus
Gluteus medius and minimus