Anatomy

Following a surgical procedure on the right side of the neck, a patient can no longer raise his right arm above the horizontal position.The patient also cannot shrug his right shoulder. Which of the following nerves was injured?