 He completed the rebuilding of Ascalon, and also made peace with Ayyub in Egypt.Ayyub confirmed Isma'il's concessions in 1241, and prisoners taken at Gaza were exchanged by both sides.Richard returned to Europe in 1241.