Just 16 km from Palampur is the ancient Shiva temple at Baijnath. The old temple has been dated to 9th century and has been conserved. Apart from the religious significance, the temple is an architectural marvel and has been known to withstand earthquakes within the last few centuries.