Nerve passing from greater sciatic foramen to lesser sciatic foramen
The greater sciatic foramen is an opening (foramen) at the back of the human pelvis. It is formed by the sacrotuberous and sacrospinous ligaments. The piriformis muscle passes through the foramen and occupies most of its volume. ref - BDC 6e vol2 pg363
Pudendal nerve
Superior rectal nerve
Inferior rectal nerve
Sciatic nerve
Abdomen and pelvis