Then, in the third and final twist to this story, Napoleon invaded Russia in June 1812, making Russia and Britain allies once again. Britain, like France after Tilsit, was thus obliged to steer a course between antagonizing Russia and violating its commitments to Persia, with its best option being to broker a settlement of the conflict between the two. The Russians had been periodically interested in finding a negotiated settlement since the setbacks of 1805–6 and as recently as 1810, when Alexander Tormasov, who had replaced Gudovich as commander after his unsuccessful siege of Erevan, and Mirza Bozorg Qaem-magham had sought to arrange an armistice . Yet the Russians were unwilling to make serious concessions in order to end the war, and the Persians were also less than eager to settle since from their point of view the war was not going all that badly. Ouseley, however, realized the awkwardness of having Britain's resources deployed against its Russian ally and that the situation for Persia was likely to worsen once Russia was freed from the struggle with Napoleon. He was thus receptive to Russian requests to act as an intermediary and sought ways to pressure the Qajars into accepting a settlement. He proposed revisions to the Definitive Treaty, scaled back British military involvement (leaving two officers, Charles Christie and Lindesay Bethune, and some drill sergeants with the Persian army), and threatened to withhold payment of the subsidy promised to the Qajars .