Complex sentence: Khans of Ganja, Nakhjavan, and Erevan submitted, but Ibrahim Khan did not.In battle, he was defeated and get into Shusha fortress.
Split into simpler sentences: Khans of Ganja, Nakhjavan, and Erevan submitted, but Ibrahim Khan did not. In a battle, he was defeated and ceded the Shusha fortress.