Peruvian authorities say a magnitude 5.4 earthquake has killed four people and injured 30 in a remote Andean part of the country.

The U.S. Geological Survey says the quake hit at 9:58 p.m. local time (10:58 EDT; 0258 GMT) Sunday near the town of Chivay, more than 600 miles (1,000 kilometers) south of Lima, the country's capital. It was centered relatively close to the surface at a depth of about 6 miles (10 kilometers)

Civil Defense official Miguel Yamasaki told journalists on Monday that four people had died due to the collapse of walls. He says 40 houses are uninhabitable.