Kuala Kubu Bharu, is the district capital of Hulu Selangor District, Selangor, Malaysia. It is located 60 km north of Kuala Lumpur. In 1883, the Sungai Selangor dam broke, causing a massive flood. It swept away the entire town the second time it broke in 1926, except for Guan Yin Gu Si Temple and Al-Hidayah Mosque.