sentences:  Ibrahim maintained contact with the Russian authorities, but did not sign any formal treaty.In 1795 the ruler of Iran, Agha Mohammad Khan Qajar, attacked the region to bring it again within the Iranian empire.The khans of Ganja, Nakhjavan, and Erevan submitted, but Ibrahim Khan did not.