A powerful 6.3 magnitude earthquake shook northern Afghanistan before dawn Monday, killing at least 20 people and injuring over 300 others, a health official said.

Sharafat Zaman, a spokesperson for the Ministry of Public Health, warned the death toll could rise as rescue workers were still digging in some areas.

The U.S. Geological Survey said the quake's epicenter was located 22 kilometers (14 miles) west-southwest of the town of Khulm, and that it struck at 12:59 a.m. at a depth of 28 kilometers (17 miles).

The quake was felt in Kabul, as well as Balkh and Samangan provinces in Afghanistan.