The nerve to the piriformis and a number of small nerves to the levator ani and coccygeus muscles originate from the sacral plexus and pass directly into their target muscles without leaving the pelvic cavity.