In the "deep layer" of posterior muscles, the tibialis posterior arises proximally on the back of the interosseous membrane and adjoining bones, and divides into two parts in the sole of the foot to attach to the tarsus. In the non-weight-bearing leg, it produces plantar flexion and supination, and, in the weight-bearing leg, it proximates the heel to the calf. The flexor hallucis longus arises on the back of the fibula on the lateral side, and its relatively thick muscle belly extends distally down to the flexor retinaculum where it passes over to the medial side to stretch across the sole to the distal phalanx of the first digit. The popliteus is also part of this group, but, with its oblique course across the back of the knee, does not act on the foot.