Like the psoas major muscle, the iliacus flexes the thigh at the hip joint when the trunk is stabilized and flexes the trunk against gravity when the body is supine. It is innervated by branches of the femoral nerve.
Superiorly, the diaphragm forms the boundary of the posterior abdominal region. This musculotendinous sheet also separates the abdominal cavity from the thoracic cavity.