The pudendal nerve is the major nerve of the perineum

Pudendal nerve:
The pudendal nerve is the major nerve of the perineum and is directly associated with the ischial spine of the pelvis On each side of the body, these spines and the attached sacrospinous ligaments separate the greater sciatic foramina from the lesser sciatic foramina on the lateral pelvic wall.