ISTANBUL (Reuters) - Turkey’s Defence Ministry said on Friday that it had agreed with Russia that a ceasefire will be implemented on Sunday in northwestern Syria’s Idlib region to stem the flow of civilians uprooted by the violence.

Hundreds of thousands of people have fled attacks in Idlib province toward the Turkish border in recent weeks, as towns and villages have been pounded by Russian jets and Syrian artillery since a renewed government assault last month.

Turkey’s defense ministry said attacks by air and land would halt at one minute past midnight on Jan. 12 under the ceasefire, which Ankara has been seeking for several weeks.

The announcement came a day after a Russian defense ministry official was quoted as saying that a ceasefire had already been implemented at 1100 GMT on Thursday, in line with agreements with Turkey.

Some 3.6 million Syrians have sought shelter in Turkey from their country’s nearly nine year-old civil war. President Tayyip Erdogan has said Turkey cannot carry the burden of more refugees from Idlib, where up to 3 million people live.

Many Syrians still in Idlib are completely dependent on cross-border aid, according to the United Nations, but a six-year-long United Nations operation delivering supplies will expire at midnight on Friday if a deadlocked U.N. Security Council cannot reach a last-minute deal to extend its authorization.

Syrian President Bashar al-Assad, backed by Russia and Iran, has vowed to recapture Idlib, the last rebel-held swathe of territory. Turkey has for years backed Syrian rebels fighting to oust Assad.