 King Stephen Uroš I of Serbia tried to conquer it in 1268, but was defeated and captured by the Hungarians.In 1284, King Stephen Dragutin of Serbia, son of Uroš I, married Catherine of Hungary and received Macsó from King Ladislaus IV of Hungary.Since the central power in the Kingdom of Hungary collapsed, Stephen Dragutin ruled an independent kingdom centered in Macsó, which also included regions of Usora and Soli in northern Bosnia, as well as Belgrade, Rudnik and Braničevo.