British Prime Minister Theresa May speaks during a joint press conference with Chinese Premier Li Keqiang at the Great Hall of the People on January 31, 2018 in Beijing, China.

China's prime minister promised Wednesday to increase its trade with the U.K. during Theresa May's visit to the country at a time of economic uncertainty in Britain amid Brexit negotiations.

Following meetings between the U.K. and Chinese premiers and officials, Li Keqiang told a press conference that both countries were "committed to upholding to free trade and pushing forward economic globalization, and in the process promoting free trade."

"We have delivered a two-way opening up between China and the U.K. and China will open even wider to the U.K.," Li said, adding that the world's second largest economy "will expand openness" to products from the U.K., particularly agricultural items such as dairy products.

It was also announced that a long-standing ban on British beef exports to China would be lifted within six months. Li said intergovernmental cooperative agreements in the areas of trade, investment and "people to people exchanges" had been reached.

"In line with our agreement, China will expand openness to products from the U.K. including agricultural products. China will import U.K. products that are needed in the Chinese market," he said.