By Anthony Boadle
BRASILIA, Jan 19 (Reuters) - Chinese Foreign Minister Wang Yi on Friday welcomed Brazil's support for Beijing's "One China policy" that states Taiwan is an inseparable part of China, a move that strengthens bilateral ties with South America's largest country.
Wang met with his Brazilian counterpart Mauro Vieira in Brasilia where they discussed the conflicts in Ukraine and Gaza and how they can be resolved, Vieira said, with China's top diplomat saying the two trade partners need to build closer levels of confidence.
China-Brazil relations were ruffled during the far-right government of former President Jair Bolsonaro, and have improved under his leftist successor, President Luiz Inacio Lula da Silva.
Wang, who will meet Lula in northeastern Brazil later on Friday, said their two countries, both members of the BRICS group of leading emerging economies, must work together to build a multi-polar world based on peace and security.
Wang and Vieira signed a visa agreement between the two nations extending their validity from five to 10 years, aimed at spurring business travel and tourism.
Wang, on a tour of African nations, Brazil and Jamaica, was in Brasilia for two days of meetings.
On Friday afternoon, en route to Jamaica, he will stop in the northeastern Brazilian city of Fortaleza to meet Lula at an air force base.
Lula is currently traveling in northeast Brazil, his main political bastion, eyeing municipal elections this year.
Brazil's position on Taiwan was established in April in a foreign ministry statement that expressed Brazil's "firm support to the One China Principle" and said China was "the sole legitimate government of the whole of China, and Taiwan being an inseparable part of the Chinese territory."
China is Brazil's largest export market, mainly for soy and iron ore. Chinese companies are planning to increase their investments in Brazil, in power transmission, oil and electric vehicles, businessmen said at a Brazil-China meeting last week in Shenzhen with major Chinese corporations.
Marcos Caramuru, a China watcher and former Brazilian ambassador in Beijing, said he is seeing growing interest of Chinese companies in investments in electric vehicles and in infrastructure in Brazil, as well as new investments in areas where China has been investing for a while, such as the electricity sector and e-commerce.
"Lula as president has helped to increase the level of mutual confidence in Brazil-China relations," Caramuru said.
(Reporting by Anthony Boadle; Editing by Steven Grattan and Aurora Ellis)