Houses and buildings collapsed, and in some places the electrical system was destroyed.