The anterior rami of thoracic spinal nerves T7 to T12 follow the inferior slope of the lateral parts of the ribs and cross the costal margin to enter the abdominal wall (Fig. 4.14). Intercostal nerves T7 to T11 supply skin and muscle of the abdominal wall, as does the subcostal nerve T12. In addition, T5 and T6 supply upper parts of the external oblique muscle of the abdominal wall;