By Nadia Carminati Last updated: 15th July 2008
AC Milan have confirmed they will complete the signing of Ronaldinho on Wednesday.
The Rossoneri have announced that they have agreed a fee with Barcelona and terms with the the Brazilian playmaker.
After rejecting overtures from Manchester City, Ronaldinho has agreed a three-year deal with the Milan club, keeping him at the San Siro until 2011.
Milan released a statement on their official website which read: "AC Milan and Barcelona have reached an agreement in principle over the transfer of Ronaldinho.
"The player will be in Milan [on Wednesday] to undergo a medical and sign a contract that will keep him at Milan until June 30 2011."
Milan president Silvio Berlusconi confirmed that vice-president Adriano Galliani had finalised the deal.
"Galliani phoned me this evening and there has been a handshake," he told Sky Italia.
"I have no reason to doubt it and tomorrow morning the contract will arrive."
And Galliani added: "Tomorrow (Wednesday) Ronaldinho will undergo medical examinations, and once he has completed them he will be a Milan player."
It is believed the final fee for Ronaldinho will be €18.5million (£14.6million) with the player earning an estimated €6.5million (£5.1million) per season.

A look at the best pictures as Michael Owen completes his surprise to Manchester United.
Pictures from the unveiling of Real Madrid's reported £56 million signing at the Santiago Bernabeu.
Pictures from the Under 21 championship semi-final between England and Sweden in Gothenburg.
Pictures from England's draw with Germany in the last Group B game of the Under 21 Championships.
A look at the best pictures as Michael Owen completes his surprise to Manchester United.
| Time | Result |
|---|---|
| Sunday 31st May | |
| Italy Serie A | |
| Roma 3 - 2 Torino | |
| Napoli 3 - 0 Chievo | |
| Palermo 2 - 2 Sampdoria | |
| Udinese 6 - 2 Cagliari | |
| Bologna 3 - 1 Catania | |
| Genoa 4 - 1 Lecce | |
| Reggina 1 - 1 Siena | |
| Fiorentina 0 - 2 AC Milan | |
| Juventus 2 - 0 Lazio | |
| Inter Milan 4 - 3 Atalanta | |
| Sunday 24th May | |
| Italy Serie A | |
| AC Milan 2 - 3 Roma | |
| Chievo 0 - 0 Bologna | |
| Atalanta 2 - 2 Palermo | |
| Siena 0 - 3 Juventus | |
| Cagliari 2 - 1 Inter Milan | |
| Sampdoria 2 - 2 Udinese | |
| Catania 3 - 1 Napoli | |
| Lecce 1 - 1 Fiorentina | |
| Torino 2 - 3 Genoa | |
| Wednesday 20th May | |
| Italy Serie A | |
| Lazio 1 - 0 Reggina | |
| Pos | Team | P | Pts |
|---|---|---|---|
| 1 | AC Milan | 0 | 0 |
| 2 | Atalanta | 0 | 0 |
| 3 | Bari | 0 | 0 |
| 4 | Bologna | 0 | 0 |
| 5 | Cagliari | 0 | 0 |
| 6 | Catania | 0 | 0 |
| 7 | Chievo | 0 | 0 |
| 8 | Fiorentina | 0 | 0 |
| 9 | Genoa | 0 | 0 |
| 10 | Inter Milan | 0 | 0 |
| 11 | Juventus | 0 | 0 |
| 12 | Lazio | 0 | 0 |
| 13 | Livorno | 0 | 0 |
| 14 | Napoli | 0 | 0 |
| 15 | Palermo | 0 | 0 |
| 16 | Parma | 0 | 0 |
| 17 | Roma | 0 | 0 |
| 18 | Sampdoria | 0 | 0 |
| 19 | Siena | 0 | 0 |
| 20 | Udinese | 0 | 0 |
Wolfsburg and Rangers both sealed their respective league titles on the final day of their seasons.
Barcelona crowned champions despite loss at Mallorca while Inter secure fourth straight Scudetto.
Barcelona hammered Real Madrid 6-2 as Wolfsburg and Inter also strengthened their positions.
Luis Fabiano's agent has claimed AC Milan have made an official approach to Sevilla for the striker.
Lyon chairman Jean-Michel Aulas has confirmed his interest in signing Juventus striker David Trezeguet.
Inter Milan have completed the signing of midfielder Thiago Motta on a four-year deal from Genoa.
Paris St Germain will not break the bank to bring midfielder Patrick Vieira to the Parc des Princes.
Juventus have dismissed fresh reports linking the club with a bid for Liverpool's Xabi Alonso.