A car assembly line at a FAW-Volkswagen factory in Qingdao, China, photographed in January
London/Berlin CNN  — 

Germany announced Thursday that it would reduce its dependence on China in “critical sectors” including medicine, lithium batteries used in electric cars and elements essential to chipmaking.

The government published its first ever “Strategy on China,” a 40-page document that highlights the tightrope Berlin must walk in managing its dependence on the world’s second-largest economy amid growing criticism of Beijing’s human rights record and attitude towards international law.

China is Germany’s most important trading partner, with imports and exports between the two nations reaching nearly €300 billion ($335 billion) in 2022, according to the government.