However, despite this commitment to defend Georgia, Russia rendered no assistance when the Iranians invaded in 1795, capturing and sacking Tbilisi while massacring its inhabitants, as the new heir to the throne sought to reassert Iranian hegemony over Georgia. Despite a punitive campaign subsequently launched against Qajar Iran in 1796, this period culminated in the 1801 Russian violation of the Treaty of Georgievsk and annexation of eastern Georgia, followed by the abolition of the royal Bagrationi dynasty, as well as the autocephaly of the Georgian Orthodox Church. Pyotr Bagration, one of the descendants of the abolished house of Bagrationi, would later join the Russian army and rise to be a prominent general in the Napoleonic wars.