(CNN) -- Bayern Munich have agreed a deal to sign Croatian international striker Ivica Olic from Bundesliga rivals Hamburg, the German champions have revealed on their official Web site fcbayern.de.



Olic will join Bayern Munich at the end of the season after proving a success in his time at Hamburg.



"We've struck an agreement to sign Olic at the end of the season. All we need now are the signatures under the contract," said Bayern general manager Uli Hoeness following the team's arrival at a winter training camp in Dubai.



Olic will complete his move on a free transfer on July 1 and will sign a three-year contract binding him to the club until 2012.



"I'll do everything I can to mark my departure from Hamburg with a trophy," the 29-year-old Olic vowed on Friday, as he and his team-mates prepared for a winter training camp almost exactly parallel to Bayern's in Dubai.



The two teams will meet on January 30 in Hamburg in a match marking the official start of the second half of the Bundesliga season.



Olic joined Hamburg from CSKA Moscow in January 2007 having won three league titles and the UEFA Cup in Russia. He has already scored 12 goals this season and has netted 11 times in 61 internationals for Croatia.



"We're certain Ivica will be a perfect compliment to our strikers Luca Toni and Miroslav Klose. One pleasing aspect is that he is out of contract at the end of the season," said Bayern chairman Karl-Heinz Rummenigge last month.
Who rivals Hamburg? What player did Bayern Munich agree to sign? Who agrees to make a deal? How old is Ivica Olic? Who will join? Who agreed to a deal? What is the length of his contract with Bayern? What position does Olic play? Will it cost a fee?
Munich Ivica Olic Munich 29-year-old Olic Bayern three-year striker free transfer
question: Who rivals Hamburg?, answer: Munich | question: What player did Bayern Munich agree to sign?, answer: Ivica Olic | question: Who agrees to make a deal?, answer: Munich | question: How old is Ivica Olic?, answer: 29-year-old | question: Who will join?, answer: Olic | question: Who agreed to a deal?, answer: Bayern | question: What is the length of his contract with Bayern?, answer: three-year | question: What position does Olic play?, answer: striker | question: Will it cost a fee?, answer: free transfer