Croatia striker Ivica Olic has agreed a deal in principle to join Bayern Munich on a free transfer in the summer.
The Hamburg hitman is out of contract at the HSH Nordbank Arena at the end of the current season and has agreed a contract with the reigning Bundesliga champions worth a reported four million euros per season.
Olic has netted 12 goals in 25 appearances for Martin Jol's side this season.
"We have reached agreement," confirmed Bayern general manager Uli Hoeness. "Now only the signature is missing under the contract."
Olic joined Hamburg from CSKA Moscow in January 2007 for two million euros.