In the town of Mengwi ..is the great royal temple of Pura Taman Ayun. Built in the 17th century, the temple served as the family temple of the Mengwi dynasty, whose kingdom survived until the late 1800s. The temple is famous for its exquisite wooden merus, or pagoda-like shrines.