Bayern Munich striker Deniz Yilmaz has agreed to join Mainz this summer on a free transfer.
The 23-year-old underwent a medical on Wednesday and has signed a three-year deal effective from June this year to June 2014.
Yilmaz scored 30 goals in 105 games for Bayern's reserve team but is currently out of action through injury.
Mainz manager Christian Heidel told his club's website: ''We watched Deniz closely this season before his injury. We are pleased that he would like to take this next step in the development of his career at Mainz.''