Muscles in the anterior compartment of the leg dorsiflex the ankle, extend the toes, and invert the foot. Muscles in the posterior compartment plantarflex the ankle, flex the toes, and invert the foot. Muscles in the lateral compartment evert the foot. Major nerves and vessels supply or pass through each compartment.
Shaft and distal end of tibia