 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 Rakovor (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.