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

medial (internal) pterygoid

lateral (external) pterygoid.

masseter.

temporalis.

buccinator