LONDON (Reuters) - AstraZeneca (>> AstraZeneca plc) has sold the marketing rights to a portfolio of anaesthetics for up to $770 million (532 million pounds) in the latest so-called externalisation deal to raise funds for investment in new drugs.

South Africa's Aspen Pharmacare (>> Aspen Pharmacare Holdings Limited) will market the seven established medicines outside the United States under the deal, which follows the sale of U.S. rights to the anaesthetics 10 years ago to Abraxis, now part of Fresenius Kabi (>> Fresenius Kabi Oncology Ltd).

Aspen will pay AstraZeneca $520 million upfront and up to $250 million in sales-related payments, as well as double-digit percentage trademark royalties, the companies said on Thursday.

Aspen Chief Executive Stephen Saad said it was an "excellent opportunity" for the South African firm and its shares jumped 10 percent in Johannesburg. AstraZeneca stock fell 0.8 percent.

The agreement covers Diprivan, used for general anaesthesia, EMLA, a topical anaesthetic, and five local anaesthetics. The anaesthetics, which are sold in more than a hundred countries, had sales in 2015 of $592 million.

AstraZeneca will continue to manufacture and supply the products on a cost plus basis to Aspen for an initial 10 years.

AstraZeneca has used externalisation income from licensing out products in non-core areas, such as neuroscience, to help fund investment in new medicines in cancer and other fields.

Externalisation has helped underpin AstraZeneca's profits at a time it is facing a raft of patent expiries on previous blockbuster drugs, such as cholesterol fighter Crestor and heartburn medicine Nexium, but it has led to criticism about the quality of earnings from some analysts.

Externalisation deals contributed $1.1 billion to revenue last year and the company has said the figure will be higher in 2016.

(Additional reporting by Paul Sandle; editing by David Clarke)

By Ben Hirschler

Stocks treated in this article : AstraZeneca plc, Fresenius Kabi Oncology Ltd