The Russian Empire gradually penetrated Transcaucasia by the early 19th century. Persia's Erivan Khanate, in which Etchmiadzin was located, became an important target for the Russians. In June 1804, during the Russo-Persian War (1804–13), the Russian troops led by General Pavel Tsitsianov tried to take Etchmiadzin, but failed. A few days after the attempt, the Russians returned to Etchmiadzin, where they caught a different Persian force by surprise and routed them. Tsitsianov's forces entered Etchmiadzin, which, according to Auguste Bontems-Lefort, a contemporary French military envoy to Persia, they looted, seriously damaging the Armenian religious buildings. Shortly after, the Russians were forced to withdraw from the area as a result of the successful Persian defense of Erivan. According to Bontems-Lefort, the Russian behaviour at Etchmiadzin contrasted with that of the Persian king, who treated the local Christian population with respect.