China has shifted its position in a lengthy dispute with Myanmar over the building of a $3.6 billion dam, seven sources said, signaling its willingness to abandon the project in exchange for other economic and strategic opportunities in Myanmar.

Myanmar President Htin Kyaw will discuss a potential deal on the massive Myitsone dam during a trip to China beginning on Thursday, two senior Myanmar officials and a person familiar with the matter said.

Until recently, China had been pushing hard for the 6,000 megawatt project to go ahead despite widespread opposition within Myanmar which forced the suspension of work in 2011.