The nerve and artery of the perineum (the internal pudendal artery and pudendal nerve) pass out of the pelvis through the greater sciatic foramen into the gluteal region and then immediately pass around the ischial spine and sacrospinous ligament and through the lesser sciatic foramen to enter the perineum.
Innervation is by lumbar and sacral