Scherzenfeldt was captured, abused with iron and ropes, stripped, and almost raped, but she defended herself so forcefully that she tore a piece of flesh from the leg of her attacker. The attacker then wished to kill her, but was stopped by a comrade, and she was then taken naked to the Khanate in
Ili with the other survivors and presented to the
Khan,
Tsewang Rabtan, himself. The khan curiously asked her why she had resisted the rape attempt so forcefully, and when she told him about the customs of her country, he ordered that she should never be sexually attacked in the future. The Khan then gave her as a gift to one of his wives, a princess from
Tibet, who gave Scherzenfeldt clothes to wear. The story about the rape attempt is not in her official story, but was confided by her to an English woman,
Mrs. Vigor, several years later in Moscow. Scherzenfeldt was made a teacher in
weaving and
knitting, and soon became appreciated for her knowledge in these crafts and her good manners; she was appointed knitting instructor to the Khan's favorite daughter, Princess Seson, and was soon regarded as more of a lady-in-waiting than a slave. During two years, she was the official representative for the purchases from the Princess' dowry in
Yarkent County in
Xinjiang in
China, where she would have been the first Swedish person until the 1890s. She was also active in making a better life for other slaves belonging to the Dzungars. Among them was a Swedish man named
Johan Gustaf Renat (born 1682 in Stockholm), the son of
Dutch Jewish immigrants who
converted to
Christianity as part of becoming Swedish subjects in 1681. Renat had been captured at
Poltava during his service in the Swedish army. Subsequently enlisting in the Russian army to escape captivity in Siberia, he was captured by the Dzungars, to whom he became an instructor in the
cannon-forging and book printing. He led an attack during a battle against the
Qing Empire and also made some of the weaving looms for Scherzenfeldt's
workshops. Princess Seson wanted Scherzenfeldt to come with her when she was to marry the Khan of the
Volga Kalmyks, but she refused, as she feared she would never again see Sweden if she did so. Instead, she feigned a marriage to Renat (the marriage never actually took place) and left the court of the princess. Shortly after this, in 1727, the khan
Tsewang Rabtan died. The Princess, her mother, and every one belonging to her court were accused of having poisoned him to place Seson's brother on the throne; they confessed, were tortured, and executed. Scherzenfeldt was the target of many suspicions and intrigues but survived due to her good sense and great care. She managed to convince the new Khan to agree on her demand that the eighteen Swedish and one hundred and thirty-four Russian slaves be released. Later, she helped another Mongol khan in planning his campaigns against the Qing. ==The release==