The Siege of Damietta of 1249 was part of the Seventh Crusade. Louis IX of France landed at Damietta in 1249. Egypt would, Louis thought, provide a base from which to attack Jerusalem, and its wealth and supply of grain would keep the crusaders fed and equipped. On June 6 Damietta was taken with little resistance from the Egyptians, who withdrew further up the Nile. Louis was able to build a stockade for the whole Crusade camp with the wood from 24 captured Egyptian trebuchets.