The posterior compartment of the thigh contains three large muscles termed the “hamstrings.” All are innervated by the sciatic nerve.
Muscles in the anterior compartment (Table 6.3) act on the hip and knee joints: the psoas major and iliacus act on the hip joint, the sartorius and rectus femoris act on both the hip and knee joints, and the vastus muscles act on the knee joint.