Over the period of twenty years, this struggle weakened the Hungarian influence. In 1409, Ladislaus of Naples sold his "rights" over Dalmatia to Venice for 100,000 "Ducats". Venice gradually took over most of Dalmatia by 1420. In 1437, Sigismund recognized Venetian rule over Dalmatia in return for 100,000 Ducats. The city of Omiš yielded to Venice in 1444, and only Ragusa (Dubrovnik) preserved temporarily its freedom.