The transverse abdominis muscles and internal oblique muscles are innervated by the ilioinguinal nerve. It provides sensory nerve to the region of the upper anteromedial region of the thigh.