Chinese President Xi Jinping met with Myanmar's top military general in Beijing on Friday and discussed China's support amid international criticism over its treatment of the Rohingya minority, according a statement from the general.

China has offered diplomatic backing to its southern neighbor throughout the crisis, despite growing pressure from Western countries for the Myanmar military to be accountable for alleged atrocities.

More than 600,000 members of the Rohingya Muslim group have fled from Buddhist-majority Rakhine State to Bangladesh in three months since insurgent attacks on security posts sparked a brutal counterinsurgency campaign.

China helped to block a resolution on the crisis at the U.N. Security Council, while the United States this week called the response by the military and local vigilantes "ethnic cleansing," echoing earlier statements by senior United Nations officials.

According to a statement on the Facebook page of Senior Gen. Min Aung Hlaing, on Friday he and the Chinese leader discussed the "promotion of cooperation between the armed forces of the two countries, the situation of China standing on Myanmar's side at the forefront of the international community regarding the Rakhine issue," and other issues.

Min Aung Hlaing arrived in China on Tuesday and has largely met with Chinese military officers during his visit.

The statement also said they discussed ongoing talks between Myanmar's government and myriad ethnic insurgent groups, some of whom are based along Myanmar's shared border with China.

According to China's Xinhua News Agency, Xi said Beijing is closely watching the peace process and is "willing to play a constructive role . . . for security and stability in their border areas."

The Xinhua account did not mention Rakhine, but cited Xi as saying that China "always respects Myanmar's sovereignty and territorial integrity."