It adjoins the Chancery ( Cancelleria ) where Niccole Macchiavelli served as secretary to the Florentine Republic .
Niccole Macchiavelli was a secretary for the Florentine Republic for only five years .