[citation needed] The principality's capital city was located on a hill fort in Līvāni Municipality, on the right bank of the Daugava between two small rivers with deep ravines.[2] In the Livonian Chronicle of Henry, the Principality and its ruler Visvaldis are first mentioned in 1203 with connection with his and the Lithuanians raid under the newly founded city of Riga.[3] In 1209, Visvaldis, the prince of Jersika, was defeated by the bishop Albert of Riga and the Livonian Brothers of the Sword, and his Lithuanian wife was taken as a prisoner.After the death of Visvaldis in 1239, his fief passed to the Livonian Order, but this was repeatedly contested by the rulers of Lithuania and Novgorod, who periodically sought to conquer the territory.[6] The Novgorod First Chronicle mentions that, following the Battle on the Ice in 1242, the Germans left the previously conquered territories of Vod, Luga, Pskov and Lotygola (Latgale).