In the republican interlude (1494–1512) that interrupts the Medici domination, Machiavelli leads an active life as a part of Florence's government, although his most important writings are produced in the years after the Medici family re-established its rulership.