The 1976 Bali earthquake occurred at 15:13 local time on 14 July with a surface wave magnitude of 6.5. The shock occurred 5 kilometres (3.1 mi) south of the Bali Sea coast of the Buleleng Regency, and about 65 kilometres (40 mi) northwest of Denpasar. Up to ninety percent of houses in Buleleng Regency were seriously damaged or destroyed and the Seririt sub-district was almost completely destroyed, where a school building collapsed and trapped at least 200 students. 573 people are believed to have died; at least 544 in Buleleng Regency, 24 in Jembrana and 5 in Tabanan. Four thousand more suffered injuries and an estimated 450,000 were left temporarily homeless.