During the 13th century the hereditary Counts of Korčula were loosely governed in turn by the Hungarian crown and by the Republic of Genoa, and also enjoyed a brief period of independence; but, in 1255, Marsilio Zorzi conquered the island's city and razed or damaged some of its churches in the process, forcing the Counts to return to Venetian supreme rule.