Historically, the city was founded in the early twelfth century between 1102 and 1112, when the noble Doria family of Genoa was allowed to build the first historical nucleus into an empty section of the coast of the parish of Nulauro in Judicature of Torres (Sassari). For two centuries it remained in the orbit of the Maritime Republics, first and foremost the Genoese, apart from 1283–1284 when the Pisans were able to control it for a year. It is plausible that at this time the town shared, given its commercial and multi-ethnic nature, a language similar to the nascent Sassarese.