In 1052 German king Henry III besieges Pozsony for 2 months without success, but causes considerable damage to the castle. The following year, Pope Leo IX personally visits the town to achieve a peace between Henry and the Hungarian king. In 1073 and 1074 Hungarian king Solomon, who was based at Pozsony castle during his fighting against Géza and Duke Ladislaus, had the castle reconstructed. Hungarians settle in the market settlement below the castle in several waves in the 12th and 13th centuries, joining the previously predominantly Slovak inhabitants there. In 1108 German king Henry V along with the Czech duke Svatopluk fails to conquer Pozsony/Pressburg castle. In 1109 a new attack of the Czechs (undertaken as a revenge for a Hungarian attack of Moravia) fails. Boris, who claimed for the throne against King Géza I of Hungary, although his mother had been repelled by her husband, King Coloman of Hungary because of adultery, besieged and conquered the Pressburg Castle in 1146. The Hungarian king has to buy it back. The Hungarian king Stephen III is living in Pozsony castle in the 1160s and has its fortification improved. Participants of the Third Crusade to the Holy Land, led by the German king Frederick I Barbarossa, gather at Pozsony castle in 1189.