 Complete the following phrase:  During the seven years of her regency, Sophia made a few concessions to posads and loosened detention policies towards runaway peasants, which caused dissatisfaction among the nobles. She also made an effort to further the organization of the military. Notably intrigued by baroque style architecture, Sophia held responsibility for the promotion of the foreign district, and the creation of the Slavonic-Greek-Latin Academy, the first Russian higher learning institution. The most important highlights of her foreign policy, as engineered by Golitsyn, were the Eternal Peace Treaty of 1686 with Poland, the 1689 Treaty of Nerchinsk with China, and the 