This great economic rise, driven in particular by the resumption of mining activities, in conjunction with a progressive debt of the bishops, made possible the birth of the community of Massa, in the form of a city republic.