The greater petrosal nerve from the facial nerve [VII] and sympathetic fibers from the internal carotid plexus join to form the nerve of the pterygoid canal that passes forward into the pterygopalatine fossa through the more medial and inferior foramen—the anterior opening of the pterygoid canal.