Those who transgressed in the cities.
They all transgressed in the land
They were tyrants in the lan
Who exceeded limits in the cities
Those who tyrannized/exceeded the limit in the countries/cities
…. was such a tyrant in governing his land
Those who rebelled in the cities
Who committed excesses in the cities
(They were) the people who perpetrated tyranny in their (respective) countries
(All these people were) those who committed (all sort of) excesses in the cities
Who did transgress beyond bounds in the lands (in the disobedience of Allah)