Which portion of the brain is located closest to the spinal cord?

Which portion of the brain is located closest to the spinal cord?