The anterior vagal trunk consists of several smaller trunks whose fibers mostly come from the left vagus nerve; rotation of the gut during development moves these trunks to the anterior surface of the esophagus.
Similarly, the posterior vagal trunk consists of a single trunk whose fibers mostly come from the right vagus nerve, and rotational changes during development move this trunk to the posterior surface of the esophagus.