 But Mohammad Said Khan and Agasi Khan were not able to resist.Consequently, the capital was removed to Agsu.Sardar and Hassan estates of Shirvan were amalgamated to khanate Shaki, remained estates were amalgamated to khanate Guba.