During Erdoğan's term of office, diplomatic relations between Turkey and Syria significantly deteriorated. In 2004, President Bashar al-Assad arrived in Turkey for the first official visit by a Syrian President in 57 years. In late 2004, Erdoğan signed a free trade agreement with Syria. Visa restrictions between the two countries were lifted in 2009, which caused an economic boom in the regions near the Syrian border. However, in 2011 the relationship between the two countries was strained following the outbreak of conflict in Syria. Recep Tayyip Erdoğan said he was trying to "cultivate a favorable relationship with whatever government would take the place of Assad". However, he began to support the opposition in Syria, after demonstrations turned violent, creating a serious Syrian refugee problem in Turkey. Erdoğan's policy of providing military training for anti-Damascus fighters has also created conflict with Syria's ally and a neighbour of Turkey, Iran.