<prompt> Somatic innervation to the pelvic organs isGreater splanchnic nerveLesser splanchnic nervePudendal nerveIlioinguinal nerve  <response>: For most of its pelvic course, the femoral nerve L2, L3, L4 travels within the substance of the psoas muscle and then exits its lateral side to pass under the inguinal ligament. It supplies sensation to the anterior thigh and motor innervation to the extensors of the knee. 