Complex sentence: Vishnu assumed the form of a boar referred to as Varaha and restored earth to its normal position besides killing Hiranyaksha in a war that lasted for thousand years.
Split into simpler sentences: Vishnu assumed the form of a boar referred to as Varaha and restored earth to its normal position. Varaha later killed Hiranyaksha in a war that lasted for thousand years.