In 896, the Hungarians arrived under their leader Álmos through the Verecke Pass (the valley of the river Latoritsa). In 903, under Arpad, they conquered the fortresses of Ungvár. In the 11th century, the Kingdom of Hungary extended its borders into Transylvania up to the crests of the Carpathian mountains. As with most border areas of the Kingdom of Hungary in the Middle Ages, this territory was purposefully left mostly unsettled as a deterrent to invaders: the territory is mentioned in chronicles of the time as part of the res nullis (no-man's land) or terra indagines (uninhabited defensive border land).