The pudendal nerve exits the pelvis through the greater sciatic foramen, curls around the sacrospinous ligament and enters the ischioanal fossa through the lesser sciatic foramen.
The lesser sciatic foramen is formed by the sacrospinous ligament and the sacrotuberous ligament.
The pudendal nerve (red arrow) enters the ischioanal fossa via the lesser sciatic foramen formed by the sacrospinous ligament (green asterix) and the sacrotuberous ligament (magenta asterix). The sacrospinous ligament inserts on the ischial spine (green arrow). The internal pudendal artery is depicted with cyan arrow.