The document summarizes the muscles of the leg. It describes that the posterior compartment contains superficial and deep muscles that plantarflex and invert the foot and flex the toes. The superficial group contains three muscles and the deep group contains four muscles: the popliteus, flexor hallucis longus, flexor digitorum longus, and tibialis posterior. The lateral compartment contains two muscles: the fibularis longus and brevis. The anterior compartment contains four muscles: the tibialis anterior, extensor hallucis longus, extensor digitorum longus, and fibularis tertius. All posterior muscles are innervated by the tibial nerve.