since the 8th century empoli grew as a town around the castle, known as "emporium" or "empolis". in 1119 it was controlled by guidi. in 1182 it went under florentine rule. in 1260, after the battle of montaperti, empoli was the seat of a famous council in which farinata degli uberti opposed the destruction of florence. later empoli became an important fortress.