He and his successors faced many difficulties, including the invasion of the Mongols into Europe in the mid-13th century.