Original sentence: In the second half of the 19th century a clash of new ideological movements, Italian irredentism (which claimed Trieste and Istria) and Slovenian and Croatian nationalism (developing individual identities in some quarters whilst seeking to unite in a South Slav bid in others), resulted in growing ethnic conflict between Italians one side and Slovenes and Croats in opposition.This was intertwined with the class conflict, as inhabitants of Istrian towns were mostly Italian, whilst Croats or Slovenes largely lived out in the country
Edited sentence: In the second half of the 19th century a clash of new ideological movements, Italian irredentism (which wanted Trieste and Istria to be annexed by Italy) and Slovenian and Croatian nationalism (developing individual identities in some quarters whilst seeking to unite in a South Slav bid in others), resulted in growing ethnic conflict between Italians one side and Slovenes and Croats in opposition.This was intertwined with the class conflict, as inhabitants of Istrian towns were mostly Italian and people who lived in the country were mostly Croats or Slovenes