Two strong earthquakes rocked parts of Rwanda and the neighboring Democratic Republic of Congo Sunday morning, killing at least 39 people and injuring nearly 400 others.

Local officials say many people were at Sunday church services when the quakes hit the western Great Rift Valley, a seismically active area.

The U.S. Geological Survey measured the first quake at magnitude 6. It jolted Bukavu, n Congo's South Kivu province, where at least five people died.

The second shock hit Rwanda a few hours later with magnitude 5 force, killing at least 34 people.

Rwandan media say hospitals are struggling to cope with hundreds of injured. Rescuers are still searching for survivors trapped in the rubble.

Some information for this report was provided by AFP and AP.