city state

noun
1
(especially in the past) an independent state consisting of a city and the area around it (for example, Athens in ancient times)
شهر-دولت