The three muscles of the posterior thigh are known as the hamstring muscles. They extend the thigh from a flexed position and flex the leg. Semimembranosus: The most medial of the three hamstring muscles, this muscle originates on the ischial tuberosity and inserts on the medial condyle of the tibia.