Many agricultural villages of the Capitanata, with a cereal vocation, had, after harvesting, to take care of the conservation and trade of wheat, especially wheat, Torremaggiore also had its Piano delle Fosse Granarie. The territory of the Tavoliere had numerous inhabited centers in which the practice of underground conservation of cereals was highly developed, including: Foggia, Manfredonia, Cerignola, San Severo and Torremaggiore.
In Torremaggiore, the presence of grain pits dedicated to the storage of grain dates back to the 1500s and were owned by the De Sangro family. At that time, large quantities were stored inside the Ducal Castle, and / or in the immediate vicinity, and were used for the conservation of cereal products which were then exported.