how did hercules kill the Erymanthian Boar

Hercules killed the Erymanthian Boar by chasing it into a deep snowdrift and capturing it alive. He then brought the boar back to King Eurystheus as proof of his completion of the Fourth Labor.