Marfa Boretskaya, also known as Martha the Mayoress (Russian: Марфа Посадница - Маrfa Posadnitsa), was the wife of Isaac Boretsky, Novgorod's posadnik in 1438–1439 and again in 1453. According to legend and historical tradition, she led the republic's struggle against Muscovy between her husband's death and the city's eventual annexation by Ivan III of Russia in 1478.
While she is referred to as Mayoress, this was in no way a formal office. Russians and other Slavs traditionally refer to the wife of certain officials by the feminine equivalent, hence the priest's (pop) wife may be referred to a "priestess" or a general's wife may be referred to a "general-ess" without it meaning that she herself exercised any actual power. In the case of Marfa, she may have been the focal point of the anti-Muscovite faction and had considerable charisma or influence as the matriarch of the clan, but never held actual office in Novgorod as they were confined to the male land-owners.
Little is known of Marfa's personal life. She was widowed at some time in the 1460s and remained one of the wealthiest Novgorodian landowners (based on the Pistsovye Knigi or land cadasters compiled by Muscovite officials beginning in the 1490s) until Ivan III's confiscations of land in the 1470s and 80s. It was probably to defend her wealth that she opposed the Muscovite grand princes who had sought to take over Novgorodian estates going back into the late 14th century.
In 1471 Marfa and her sons, Dmitrii and Fedor, as the last representatives of the anti-Muscovite Boretsky family, attempted to negotiate with Casimir IV Jagiellon the terms of the city's handover to the Grand Duchy of Lithuania, provided that the city's ancient privileges and rights will be retained. They also invited Mikhailo Olelkovich to become city's ruler. On hearing about Marfa's manoeuvres, which violated the earlier Treaty of Yazhelbitsy, Ivan III advanced against Novgorod and defeated the Novgorodian volunteer army in the Battle of Shelon. In the wake of this disaster, Marfa's son, Dmitrii was executed on July 24, 1471 at the behest of the grand prince.