The president of Malawi has declared friendship with Scotland and war on political corruption in his own impoverished African nation.
President Mutharika and Jack McConnell signed the accord
President Bingu wa Mutharika said an impeachment move against him in Malawi was driven by political rivals.
The co-operation agreement, signed in Edinburgh, should open the door for further practical help from Scotland.
It will be followed by detailed plans to assist in areas such as health, education and economic development.
Four million people in Malawi are facing starvation but the threat of famine has not united politicians, with accusations that public funds have been used to support the ruling political party.
Scotland believes it can help channel practical aid to Africa, but President Mutharika knows he must tackle corruption claims to reassure donors.
Aid agencies have urged Scots to add their voices to those demanding emergency aid for Malawi.
President Mutharika warmly welcomed the pact and sought to reassure global donors by pledging to root out corruption at home.
First Minister Jack McConnell described it as an "historic" agreement cementing a 150-year friendship between the two countries.
Links have been developing between Scotland and Malawi
Dr Mutharika said: "Perhaps for the first time, a country in the north, Scotland, is twinning up with a country in the south, Malawi, to look at problems more closely.
"I think this sets a new pattern in global relations.
"If others could emulate this example, we believe that the issues of poverty, hunger and famine could be tackled more effectively."
At a joint press conference at Bute House, the First Minister's official residence in Edinburgh, the president defended himself against claims of corruption, blaming political opponents.
He said: "The idea is that they quickly came up with impeachment, with the hope of getting me out of the way (so they could) get back and cover up all things they were doing, and reinstate some of the corruption and continue to plunder Malawi."
Malawi is setting up a commercial court to tackle corruption and the president suggested Scotland could help out in this by donating furniture, or computers.
"There are a lot of areas in which Scotland could help fight corruption," he said.