The building was commissioned by Cosimo I de' Medici in 1560 from Giorgio Vasari to house the offices of the Tuscan state: uffizi means offices. Vasari designed a long U-shaped palace opening onto the river, with a covered corridor that linked the Palazzo Vecchio to the Palazzo Pitti. Work continued after Vasari's death in 1574 under Alfonso Parigi and Bernardo Buontalenti. The Medici soon began to use the upper floor to display their collection of paintings, sculpture and curiosities, and Francesco I created the octagonal Tribuna there in the 1580s.
The collection stayed in Florence thanks to Anna Maria Luisa de' Medici, the last of the family, who left it to the Tuscan state in 1737 on condition that it never leave the city. The gallery opened to the public in the 18th century and today it is one of the most visited museums in Italy. It tells the story of Italian painting from Cimabue, Duccio and Giotto in the 13th and 14th centuries to Botticelli, Leonardo, Michelangelo and Raphael, then on to Titian and Caravaggio. Few museums let you follow the whole story in one building.