Istanbul (CNN) -- An earthquake that rattled western Turkey killed at least two people and injured dozens more, hospital and government officials said on Friday.
The 5.8 magnitude quake, recorded late Thursday, occurred more than 200 miles west-southwest of the capital of Ankara, the U.S. Geological Survey said.
Turkey's Kandilli Earthquake Observatory said the epicenter was the town of Simav in Kutahya province, where aftershocks rippled across the region overnight.
Hospital officials in Simav reported about 150 injuries, most of them minor, and some structural damage has been reported.
Emergency officials swiftly responded with search and medical crews, and supplies such as blankets, water and food.
The Kutahya region recently had a scare of leaked cyanide-contaminated water from a wastewater dam after an embankment collapse.
Crews are checking to see whether the dam was damaged by the quake and so far, there is "no risk," said Veysel Eroglu, the environment minister.
Two people were killed in a  5.9 earthquake in Turkey shortly before midnight local time on Thursday. The  was located in , , and was at a depth of 7.6 km. In the hours following the initial earthquake, Kütahya was shaken by several aftershocks.

Officials said two people were killed; one was thought to have suffered a  and the other died after jumping from a window in panic. Dozens more were injured. Emergency services dispatched  and gave out blankets, food and water. Officials said a  had not been damaged by the earthquake, and it posed "no risk."

The earthquake was felt as far away as the Aegean province of , the northwestern provinces of  and İstanbul, and even the city of , not far from the Bulgarian and Greek and borders, because the depth was very shallow. More than 18,000 people died following two earthquakes with a magnitude of more than 7.0 in northwestern Turkey in 1999.