In 1097 the Crusaders captured Nicaea from its Seljuk garrison, advancing from there into Anatolia. In the Battle of Dorylaeum the main Seljuk Turkish army was defeated. In 1097 the Frankish host besieged Antioch which fell in 1098. They successfully repelled an army sent by the Seljuk Sultan in Baghdad. The bulk of the Latin army moved on, capturing Ma'arrat al-Numan.