A 5.9 magnitude earthquake struck Indonesia's West Java province at 6:18 p.m. local time Monday, sending shock waves through the capital of Jakarta, about 100 miles from the epicenter, according to the U.S. Geological Survey.

The seismically sensitive nation has been subjected to hundreds of earthquakes over the past decade, although it is rare for tremors to be felt in Jakarta, where tall buildings swayed from the shaking on Monday. The most recent major quake occurred in April, when an 8.7 magnitude struck off the shores of the Aceh region, sparking a tsunami warning in all of the Indian ocean. A magnitude-6.6 earthquake hit the city of Manokwari later that month.