with his allies defeated and facing enemies in two fronts, muhammad i sued for peace. he and his son (the future muhammad ii) concluded a treaty at alcalá de benzaide, with muhammad agreeing to become alfonso's vassal and pay a tribute of 250,000 maravedís per year. sources vary on the date of this treaty. alfonso x's royal chronicle dated it at 1265, but modern historian joseph f. o'callaghan dismissed this date as "confused". moroccan historian ibn idhari's "al-bayan al-mughrib" (written 1312) dated the treaty at 665 ah, which corresponds to a range between october 1266 and september 1267. o'callaghan dated it at 1267, possibly late may or early june, while another historian, simon r. doubleday, dated it at late august or early september 1266.