Venezuela says it has secured $5 billion loan from China as part of oil-for-loans agreement

Venezuelan President Nicolas Maduro says China has agreed to provide a $5 billion loan to boost oil production.

Maduro said Tuesday night during a speech broadcast from Beijing that the loan would be paid back in oil shipments.

China is Venezuela's largest creditor and has loaned it more than $40 billion during the last five years, much of which has been paid back with oil. Venezuela sells China more than 600,000 barrels of oil a day.

The socialist South American country is struggling with a recession and a cash crunch brought about in part by a steep drop in the price of oil, which makes up 95 percent of Venezuela's export earnings.

China has continued to loan Venezuela money as the country's economy struggles and some fear default.

It is not clear if the money is new financing or part of a deal announced earlier.