The spinal cord emerges from the base of the skull and ends at the lower part of the back.