Task: Text Categorization
Input (English): This states independence was ended by the Treaty of Leoben when the Austrians sued for peace. It was founded over a thousand years before by refugees fleeing the cities of Grado and Aquilea as defense against barbarian invaders following the fall of the Roman Empire. It eventually conquered Istria and the Dalmatian Coast as well as some Aegean islands. It was divided after the Treaty of Campo Formio and had a longstanding rivalry with Genoa, with whom it competed for trade. It may have caused the sack of Constantinople during the Fourth Crusade and soon after expanded onto the Italian mainland, conquering the terrafirma. Known as La Serrenissima, name, for 10 points, this Italian republic led by the Doge which had a lot canaals.
Output (English): History