In 1228 , Emperor Frederick II set sail from Brindisi for Syria . He did this after the Pope excommunicated him .
Emperor Frederick II had repeatedly vowed a crusade but failed to live up to his words , for which he was excommunicated by Pope Gregory IX in 1228 .