It branches from the facial nerve (CN VII) near to the stylomastoid foramen as the CN VII exits the facial canal (it thus branches proximal to the parotid plexus of facial nerve).
The facial nerve (CN VII) branches from near the stylomastoid foramen as it exits the facial canal, which is situated proximal to the parotid plexus of the facial nerve.