Istanbul, Turkey (CNN) Turkey and Russia have reportedly agreed on a draft nationwide ceasefire in Syria, the Turkish state-run news agency Anadolu said Wednesday.

The report cited an unnamed source saying that Ankara and Moscow would try to bring a ceasefire into effect at midnight.

Foreign Minister Mevlut Cavusoglu confirmed that Turkey had prepared an agreement, Reuters reported, but it was not immediately clear if the Syrian rebel groups involved in the conflict were aware of the draft plan.

CNN has contacted all parties for comment.

The Anadolu report said that unspecified "terrorist organizations" would be excluded from the deal. In past agreements, "terrorist organizations" have included ISIS and the Al-Qaeda-linked Jabhat al-Nusra.

Turkey also considers some Kurdish groups fighting in Syria terrorist groups, some of which have been armed and supported by the US. Washington describes those groups as moderate rebels.

Moscow has not confirmed the deal, and when asked by journalists about it Wednesday, Kremlin spokesman Dimitri Peskov said: "I don't have enough information."

Political negotiations?

A successful nationwide ceasefire hinges on many fighting factions laying down arms -- forces from Iraq, Iran and Lebanon are also fighting alongside Syrian President Bashar al-Assad's regime.

Some rebel groups have been openly armed and supported by the United States and Turkey, and sectarian divisions still run deep in Syria.

Many attempts at ceasefires have crumbled over the years.

If the ceasefire succeeds, the regime and the opposition parties will start political negotiations led by Turkey and Russia in the Kazakhstan capital, Astana, the Anadolu report said.

JUST WATCHED Russia slams US policy shift in Syria Replay More Videos ... MUST WATCH Russia slams US policy shift in Syria 01:50

Russia and Turkey are wielding increasing influence over Syria's fate. Iran also expressed willingness to play a part in brokering a ceasefire last week in Moscow after talks with Russian and Turkish officials.

The trio's talks have sidelined the US, which has led an international coalition to fight ISIS in Syria and has vehemently opposed Assad remaining in power.

A turning point

The Turkey-Russia draft ceasefire comes six days after Syrian regime forces regained control of the key city of Aleppo -- a major turning point in the country's civil war that has raged for nearly six years and has killed an estimated 400,000 people.

Tens of thousands of civilians and rebels were evacuated from the city's east under several deals brokered by Turkey and Russia.

Rebels had held eastern Aleppo for more than four years , and losing the territory has made a military an political opposition to the Assad regime less likely, analysts have said.

After the regime seized Aleppo, Russian President Vladimir Putin had said that a nationwide ceasefire was the next step in resolving the war.

Photos: The battle for Aleppo in 20 photos A Syrian man reacts while standing on the rubble of his house while others look for survivors and bodies in the Tariq al-Bab district of the northern city of Aleppo on February 23, 2013. Hide Caption 1 of 20 Photos: The battle for Aleppo in 20 photos A Free Syrian Army fighter aims his weapon during clashes with government forces in Aleppo on Tuesday, January 15, 2013. Hide Caption 2 of 20 Photos: The battle for Aleppo in 20 photos A member of the Syrian pro-government forces stands amid heavily damaged buildings in Aleppo's 1070 district on November 8, 2016, after troops seized it from rebel fighters. Hide Caption 3 of 20 Photos: The battle for Aleppo in 20 photos A wounded Syrian boy cries after bombs fell on the opposition-controlled Firdevs neighborhood in Aleppo on October 11, 2016. Hide Caption 4 of 20 Photos: The battle for Aleppo in 20 photos Smoke rises after a bomb explodes in a residential area in the Darat Izza neighborhood of Aleppo on October 4, 2016. Hide Caption 5 of 20 Photos: The battle for Aleppo in 20 photos Search and rescue team members carry an injured man after Syrian regime airstrikes targeted the Meshed neighborhood of Aleppo on July 21, 2016. Hide Caption 6 of 20 Photos: The battle for Aleppo in 20 photos A rebel fighter aims his weapon toward Syrian government forces' positions at the Menagh military airport near Aleppo on March 13, 2013. Hide Caption 7 of 20 Photos: The battle for Aleppo in 20 photos The body of a Syrian army soldier lies on the ground after heavy clashes with government forces at a military academy besieged by the rebels in Tal Sheer village, north of Aleppo, on December 16, 2012. Hide Caption 8 of 20 Photos: The battle for Aleppo in 20 photos Debris covers a street and flames rise from a building after a reported airstrike by Syrian government forces on March 7, 2014, during the Friday prayer in the Sukkari neighborhood of Aleppo. Hide Caption 9 of 20 Photos: The battle for Aleppo in 20 photos Wounded 5-year-old Omran Daqneesh sits alone in the back of an ambulance after he was injured during a Russian or Assad regime forces airstrike targeting the Qaterji neighborhood of Aleppo on August 17, 2016. Hide Caption 10 of 20 Photos: The battle for Aleppo in 20 photos A Syrian opposition tank fires a rocket toward an Assad forces' building during clashes near the Air Intelligence building of Jamiat al-Zahra, Aleppo, on April 13, 2015. Hide Caption 11 of 20 Photos: The battle for Aleppo in 20 photos On September 7, 2012, Free Syrian Army fighters run after attacking a Syrian army tank during fighting in the Izaa district of Aleppo. Hide Caption 12 of 20 Photos: The battle for Aleppo in 20 photos Search and rescue team members inspect collapsed buildings after Assad regime forces attacked residential areas in the Karm al-Beik region of Aleppo on July 9, 2015. Hide Caption 13 of 20 Photos: The battle for Aleppo in 20 photos Syrian civil defense volunteers and rescuers remove a baby from under the rubble of a destroyed building after a reported airstrike on the rebel-held neighborhood of al-Kalasa in Aleppo on April 28, 2016. Hide Caption 14 of 20 Photos: The battle for Aleppo in 20 photos A Free Syrian Army fighter takes cover during clashes with Syrian army soldiers in the Salaheddine neighborhood of central Aleppo on August 7, 2012. Hide Caption 15 of 20 Photos: The battle for Aleppo in 20 photos Syrian pro-government forces walk in the damaged ancient Umayyad Mosque in the old city of Aleppo on December 13, 2016, after they captured the area. Hide Caption 16 of 20 Photos: The battle for Aleppo in 20 photos A man in front of a field hospital mourns the death of his relatives on August 21, 2012, in Aleppo. Hide Caption 17 of 20 Photos: The battle for Aleppo in 20 photos Rubble is seen in the Salaheddine neighborhood on March 24, 2013, in Aleppo. Hide Caption 18 of 20 Photos: The battle for Aleppo in 20 photos Syrian government forces walk in the strategic area of the Bazo hilltop, on the southern outskirts of Aleppo, as they advance to seize the rebel-held eastern part of the city on October 25, 2016. Hide Caption 19 of 20 Photos: The battle for Aleppo in 20 photos An aerial view shows a convoy of buses and ambulances waiting at a crossing point in the Amiriyah district of Aleppo on December 15, 2016, to evacuate civilians trying to flee from areas under siege by Iran-led Shiite militias and Assad regime forces. Hide Caption 20 of 20

The UN Security Council has failed several times to find a political solution to end the brutal war.

Russia shot down at least seven UN resolutions on Syria using its veto power as a permanent member of the Council. China vetoed six of those seven. Many of them were aimed at getting desperately needed aid into Aleppo.

Turkey has insisted on playing a significant role in negotiations as it hopes to keep any territorial gains by Kurdish forces far from its border with the war-torn country.

Russia has been the closest and most powerful ally of Syrian President Bashar al-Assad. It has carried out airstrikes against rebel groups opposed to the leader's regime since September 2015.