In 1139 a strong earthquake happened in Ganja and practically destroyed the city. The earthquake was so strong that top part of Mount Kapaz to the south-west of the town was broken and fell down onto the Aghsu River and created Lake Göygöl and other small lakes. King Demetrius I of Georgia took the advantage of the earthquake to attack and loot the defenseless Ganja.