Splenius capitis muscle
The splenius capitis is a broad, straplike muscle in the back of the neck. It pulls on the base of the skull from the vertebrae in the neck and upper thorax. It is involved in movements such as shaking the head. Wikipedia