The temple of Dattatraya is as old as the Palace of Fifty-five Windows. Consecrated by King Yakshya Malla in 1427 AD, this temple, according to popular belief, was built out of the trunk of a single tree. It was subsequently repaired and renovated by King Vishwa Malla in 1458 AD.
Just beside temple is a monastery (Math) with exquisitely carved peacock windows. These famous windows were carved during the reign of King Vishwa Malla. The monastery is full of artistic facades of latticed windows and engraved columns.