The muscle primarily responsible for moving the mandible to a lateral position is the

medial (internal) pterygoid.

masseter.

lateral (external) pterygoid.

temporalis.

buccinator.