'vich' ending to their paternal names, as was only meant for the members of the royal court. Together with the new title, the received unprecedented privileges for people of trading class: they were subject only to the royal judgement, allowed founding towns and building fortresses, owning armed troops and forging cannons, organizing military campaigns against Siberian rulers and duty-free trade with Asian nations. In the 17th century, the Stroganovs began to marry into high Russian nobility (princes, boyars and courtiers). For example, Pyotr Semyonovich Stroganov (1583–1639) married Matryona Ivanovna Borbischeva-Pushkina. Maksim Maksimovich Stroganov (1603–1627) married Anna Alferyevna Streshneva, cousin of tsarina Eudoxia Streshneva. Stroganovs married daughters of voivodes and courtiers. Amongst the families they intermarried with in the 1600s were a few princely families, such as the Volkonskys, the Mescherskys, the Baryatinsky, the Golitzines, as well as untitled Rurikids, the Dmitriev-Mamonov family, and such boyar families as Saltykovs and Miloslavsky. In the 17th century, the Stroganovs invested heavily in the salt industry in Solikamsk. In the 1680s, Grigory Dmitriyevich Stroganov (1656–1715) united all the scattered lands of the heirs of the children of Anikey Stroganov. He also annexed the saltworks, which belonged to the Shustov and Filatiyev families. In the 18th century, the Stroganovs established a number of ironworks and copper-smelting factories in the Urals. A number of remarkable Baroque churches throughout Russia were built by the Stroganov family in the late 17th and early 18th century. They include the Cathedral of the Presentation of Mary (Введенский собор) in Solvychegodsk (1688–1696), Church of Our Lady of Kazan in Ustyuzhna (1694), Church of Our Lady of Smolensk (церковь Смоленской Богоматери) in Gordeyevka (part of today's Kanavino district of Nizhny Novgorod) (1697), and the Church of the Synaxis of the Mother of God in Nizhny Novgorod (started in 1697, consecrated in 1719). Senior lineage of the Stroganovs The descendants of Vladimir Fyodorovich Stroganov, one of the elder sons of Fyodor Lukich Stroganov, had become impoverished by the 18th century, and entered the class of state peasants. Vladimir inherited his father's properties in Solvychegodsk. Later he purchased the village of Tsyrennikovo, to the north of Solvychegodsk, for a hundred rubles. This place was the family seat of this branch for generations. Afanasy Vladimirovich Stroganov (d. 1607) was engaged in the local salt business and the fur trade. With the income from these, he purchased lands around his village. Afanasy received the title of