To understand the nerves of the back, one must look at their origin. There are 31 pairs of spinal nerves that exit the vertebral column through the intervertebral foramina. These nerves are named according to the vertebrae they exit from:
If you look at a detailed nerve diagram of the back, each spinal nerve splits into several critical branches shortly after exiting the spinal column. Here is the pathway: nerve diagram back