The C3, C4, and C5 cervical spinal roots are the source of the phrenic nerve. The rhyme "C3, 4 and 5 keep the diaphragm alive" might help you remember this. The largest contribution comes from spinal root C4, with smaller contributions coming from C3 and C5, as well as some connecting fibers from the cervical plexus.