The deal marks a breakthrough for Ukraine, which is seeking alternatives to Russian imports to meet its energy needs. Until 2006, Turkmenistan supplied Ukraine with 36 billion cubic meters (1.3 trillion cubic feet) of gas annually in exchange for cash and goods.

However, completion of the deal between Ukraine and Turkmenistan would require the consent of Kazakhstan and Russia as transit nations. Kazakhstan will be unlikely to pose an obstacle, but Russia, which has sought to dominate gas supplies to Europe and engaged in bitter energy disputes with Ukraine in the past, may not be forthcoming.

Ukrainian Energy Minister Eduard Stavitsky said the agreement was signed after talks between Ukraine’s President Viktor Yanukovych and his Turkmen counterpart, Gurbanguli Berdymukhamedov. He would not give a specific volume.

Yuriy Boiko, Ukraine’s deputy prime minister, told The Associated Press that Ukraine in the future could also help Turkmenistan develop its energy riches. According to official estimates, Turkmenistan holds more than 30 trillion cubic meters (1,059 trillion cubic feet) in total gas reserves. Ukraine may also resell gas to other European markets.

The pipelines running from Turkmenistan via Kazakhstan and Russia to Ukraine have had spare capacity since Moscow sharply reduced its purchases of the Turkmen gas in 2009 in the aftermath of the global financial crisis. But Russia may push Ukraine for concessions on other issues as a condition for allowing the transit of Turkmen gas.

Moscow long has pushed for control over Ukrainian pipelines carrying Russian gas to the EU and has prodded Ukraine to join a Russia-dominated economic bloc. Earlier this week, the Ukrainian edition of business daily Kommersant said that the countries have been holding talks on creating a joint consortium to manage the Ukrainian gas transportation system.