During a Swedish-Novgorodian war in 1314, a small Karelian force re-captured their fortress from the representatives of Novgorod. They invited Swedes to keep it against Novgorod; however, the Novgorodians reconquered the fortress. The fortress was confirmed as belonging to Novgorod in the treaty of Nöteborg of 1323.