The 5.2 magnitude quake followed two smaller tremors and was recorded at 21.09 local time