The socii (ˈsoʊʃiaɪ in English) or foederati (ˌfɛdəˈreɪtaɪ in English) were confederates of Rome and formed one of the three legal denominations in Roman Italy (Italia) along with the Roman citizens (Cives) and the Latini. The Latini, who were simultaneously special confederates (Socii Latini) and semi-citizens (Cives Latini), should not be equated with the homonymous Italic people of which Rome was part (the Latins). This tripartite organisation lasted from the Roman expansion in Italy (509-264 BC) to the Social War (91–87 BC), when all peninsular inhabitants were awarded Roman citizenship. Treaties known as foedus served as the basic template for Rome's settlement with the large array of tribes and city-states of the whole Italian peninsula. The confederacy had its origin in the foedus Cassianum ("Treaty of Cassius", 493 BC) signed by the fledgling Roman republic with its neighbouring Latin city-states shortly after the overthrow of the Roman monarchy in 510 BC. This provided for mutual defence by the two parties on the basis of an equal contribution to the annual military levy, which was probably under Roman overall command. The terms of the treaty were probably more acceptable to the Latins than the previous type of Roman hegemony, that of the Tarquin kings, as the latter had probably required the payment of tribute and not a simple military obligation. In the fourth century BC, the original Latins were mostly granted Roman citizenship. But the terms of the foedus was extended to about 150 other tribes and city-states. When a state was defeated, a part of its territory would be annexed by Rome to provide land for Roman/Latin colonists. The latter, although Roman citizens, were required to give up their citizen rights on joining a colony, and accept the status of socii. This was in order that Latin colonies could act as "watchdogs" on the other socii in the allied military formations, the alae. The defeated state would be allowed to keep the rest of its territory in return for binding itself to Rome with an unequal foedus, one that would forge a state of perpetual military alliance with the Roman Republic.