Pan then pursued her, but Sirinx, reaching the bank of the River Ladon and seeing that he had no longer any chance of escape, asked the river nymphs, like naiads, to change their shape. These, listening as her prayers, granted her request and turned her into a reed. When Pan reached it and wanted to grab it, there was nothing but the reed and the sound the air made as it passed through. Hearing that sound, Pan was delighted and decided to gather reeds of different sizes, inventing a musical instrument which he named Syrinx, in honor of the nymph. This musical instrument is best known as the pan flute, in honor of the god himself.
Pan would have been one of the sons of Zeus with his wet nurse, an Amalthea goat. His great love however was Selene, a Moon. In an Egyptian version, Pan was with other gods on the banks of the Nile River and Typhon, enemy of the gods, emerged. Fear transformed each of the gods into animals and Pan, frightened, plunged into a river and thus disguised half of his body, leaving only the head and the upper part of the body, which resembled that of a goat; the submerged part adopted an aquatic appearance. Zeus considered this stratagem of Pan very clever and, as a tribute, turned it into a constellation, which would be Capricorn. In fact, it was Zeus who later defeated Typhon.