Their continuous struggle considerably weakened the empire.