Lumbosacral trunkSuperior gluteal nerveInferior gluteal nerveNerve to piriformis muscleObturator nerve(from lumbar plexus)Sciatic nervePosterior femoralcutaneous nervePudendal nervePerforatingcutaneous nerveNerves to coccygeus,levator ani, and externalanal sphincter musclesAnococcygeal nervesCoccygeal plexusL4L5S1S2S3S4Pelvic splanchnic nerves (parasympathetics from S2 to S4)Nerve to obturatorinternus and superiorgemellus musclesNerve to quadratusfemoris and inferiorgemellus muscles