Emperor Frederick II founded this town. He told the people of 99 villages to move in the new town. Frederick's son, Conrad IV of Germany finished the town in 1254. When Conrad died, his brother Manfred destroyed the town in 1259. Charles I of Anjou, king of Sicily, built it again soon.