The lateral hamstring, with two heads: the long head from the ischial tuberosity (sharing a tendon with semitendinosus) and the short head from the linea aspera and lateral intermuscular septum. They join in a tendon that inserts on the head of the fibula and forms the upper lateral border of the popliteal fossa. The long head extends the hip and flexes the knee, the short head only flexes the knee; with the knee flexed the muscle laterally rotates the leg. The long head is supplied by the tibial and the short head by the common fibular division of the sciatic nerve. The long head is the hamstring most often torn in sprinting, in the late swing phase. The common fibular nerve runs along the medial edge of its tendon and is easily injured in lateral knee surgery or trauma.