In 1527, the Florentine citizens, encouraged by the sack of Rome, threw out the Medici and restored the republic. A siege of the city ensued, and Michelangelo went to the aid of his beloved Florence by working on the citys fortifications from 1528 to 1529. The city fell in 1530 and the Medici were restored to power.[35] Michelangelo fell out of favour with the young Alessandro Medici who had been installed as the first Duke of Florence, and fearing for his life, he fled to Rome, leaving assistants to complete the Medici chapel and the Laurentian Library. Despite Michelangelos support of the republic and resistance to the Medici rule, he was welcomed by Pope Clement who reinstated an allowance that he had previously made the artist and made a new contract with him over the tomb of Pope Julius.[45]