The lesser sciatic foramen lies inferior to the ischial spine and sacrospinous ligament between the sacrospinous and sacrotuberous ligaments.
Muscles of the pelvic wall
Two muscles, the obturator internus and the piriformis, contribute to the lateral walls of the pelvic cavity. These muscles originate in the pelvic cavity but attach peripherally to the femur.