Pan (god)
He has the hindquarters, legs, and horns of a goat
The word panic ultimately derives from the god's name.
In his earliest appearance in literature, Pindar's Pythian Ode iii. 78, Pan is associated with a mother goddess, perhaps Rhea or Cybele; Pindar refers to maidens worshipping Cybele and Pan near the poet's house in Boeotia.
Disturbed in his secluded afternoon naps, Pan's angry shout inspired panic (panikon deima) in lonely places.[25][26] Following the Titans' assault on Olympus, Pan claimed credit for the victory of the gods because he had frightened the attackers. In the Battle of Marathon (490 BC), it is said that Pan favored the Athenians and so inspired panic in the hearts of their enemies, the Persians.
https://en.wikipedia.org/wiki/Pan_(god)
[P]
?