The consequences of these events came a few years later, when a new dynasty, the Qajars, emerged victorious in the protracted power struggle in Persia. Their head, Agha Mohammad Khan, as his first objective,[18] resolved to bring the Caucasus again fully under the Persian orbit.