Anatomy

An abscess was surgically removed in a 26 year old man from the middle of the posterior triangle on the right side. During recovery the patient noticed that her shoulder drooped and she could no longer raise her right hand above her head to brush her hair. Which nerve has been accidentaly cut during the surgery?