Anterior compartment of thigh Anterior compartment of thigh The anterior compartment of thigh contains muscles which extend the knee and flex the hip. The anterior compartment is one of the fascial compartments of the thigh that contains groups of muscles together with their nerves and blood supply. The anterior compartment contains the sartorius muscle (the longest muscle in the body) and the quadriceps femoris group, which consists of the rectus femoris muscle and the three vasti muscles – the vastus lateralis, vastus intermedius, and the vastus medialis. The iliopsoas is sometimes considered a member of the anterior compartment muscles, as is the articularis genus
Semimembranosus muscle rotate the knee: the tibia medially rotates on the femur when the knee is flexed. It medially rotates the femur when the hip is extended. The muscle can also aid in counteracting the forward bending at the hip joint. Semimembranosus muscle The semimembranosus () is the most medial of the three hamstring muscles. It is so named because it has a flat tendon of origin. It lies posteromedially in the thigh, deep to the semitendinosus. The semimembranosus, so called from its membranous tendon of origin, is situated at the back and medial side of the thigh. Its origin is the