After the disintegration of Kievan Rus' in the 12th century, the city of Pskov with its surrounding territories along the Velikaya River, Lake Peipus, Pskovskoye Lake and Narva River became part of the Novgorod Republic. It kept its special autonomous rights, including the right for independent construction of suburbs (Izborsk is the most ancient among them). Due to Pskov's leading role in the struggle against the Livonian Order, its influence spread significantly. The long reign of Daumantas (1266–99) and especially his victory in the Battle of Rakvere (1268) ushered in the period of Pskov's actual independence. The Novgorod boyars formally recognized Pskov's independence in the Treaty of Bolotovo (1348), relinquishing their right to appoint the posadniks of Pskov.