The Seljuk armies were defeated by the Mongols in 1243 AD, weakening the Seljuk Empire. The Seljuks and their allies had previously attacked the Fatimid Caliphate of Egypt. More information on conflicts between the Seljuks and Byzantines can be found at the provided Wikipedia link.