The brachial plexus forms from the anterior rami of cervical nerves C5 to C8 and thoracic nerve T1. The contributions of each of these nerves, which are between the anterior and middle scalene muscles, are the roots of the brachial plexus. As the roots emerge from between these muscles, they form the next component of the brachial plexus (the trunks) as follows: the anterior rami of C5 and C6 form the upper trunk, the anterior ramus of C7 forms the middle trunk, the anterior rami of C8 and T1 form the lower trunk.