God of shepherds and flocks, son of Hermes and a nymph. Pan was born with the legs and horns of a goat, which caused his own mother to spurn him. Nor was the adult god more popular with the nymphs. One ran away from him and was transformed into a reed, which inspired Pan to invent the shepherd's pipe of bound reeds of varying lengths.