Shiva, pleased with his bravery, gives him the powerful weapon, the Pashupatastra, which later in the Mahabharata aids him against Karna and the Kauravas during the Kurukshetra war.
Pashupatastra is the weapon of PashupatiNath, the most important of all Shiva temples, located in Kathmandu, Nepal.