where does the median nerve exit the spine
The median nerve originates from the lateral and medial cords of the brachial plexus, and has contributions from ventral roots of C5-C7 (lateral cord) and C8 & T1 (medial cord).