As a matter of fact, Santa Maria a Monte passed from the influence of Lucca under the influence of Florence and, in the end, it became part of the Pisa territory.
Santa Maria a Monte shifted from Lucca's jurisdiction to Florence's control, ultimately becoming incorporated into the Pisa territory.