Which of the following cranial nerves is a motor nerve that innervates muscles of the neck?

Glossopharyngeal (CN IX)
Vagus (CN X)
Accessory (CN XII)
Hypoglossal (CN XI)

Accessory (CN XI)