from there the crusaders had pronounced acre the capital of the kingdom of jerusalem , and had used it to stockpile supplies before richard had set off on the march to jaffa , leaving william in charge .