As Ottoman power began to wane, Habsburg Austria and Russia saw Bulgarian Christians as potential allies. The Austrians first backed an uprising in Tarnovo in 1598, then a second one in 1686, the Chiprovtsi Uprising in 1688 and finally Karposh's Rebellion in 1689. The Russian Empire also asserted itself as a protector of Christians in Ottoman lands with the Treaty of Küçük Kaynarca in 1774.