China and Spain have signed $4 billion of business deals as Spanish Prime Minister Mariano Rajoy visits the Asian powerhouse to seek support for Spain's struggling economy.

Chinese premier Li Keqiang announced the deals Thursday just before holding talks with Rajoy in Beijing.

Li said, "we hope to have more pragmatic cooperation with Spain, and look forward to expanding the number of people traveling between the two countries."

Rajoy said the two countries have always enjoyed "friendly and effective" trade relations.

Two-way trade between China and Spain reached $24 billion last year.