The sciatic nerve is the largest nerve in the body and innervates all muscles in the posterior compartment of the thigh that flex the knee and all muscles that work the ankle and foot. It also innervates a large area of skin in the lower limb.
Nerve to quadratus femoris