He was the third avatar of Vishnu. Hiranyakashipu dragged the earth to Patala. She asked to be rescued. Vishnu took Avatar.
He came out of the nose of Brahma and appeared in the sky. He pulled earth with his tusks and fought with Hiranaykashipu for 10,000 years and finally won the battle.
This is a perfect description of a Yoga chakra. Only a guru can describe it perfectly, including the appearance as a swine !