Hundreds of homes and public buildings have been severely damaged with at least 51 people killed.