Croatia striker Mario Mandzukic is set to join Bayern Munich from Bundesliga rival Wolfsburg on a four-year contract.

Bayern said Wednesday that the two clubs have agreed on the transfer. It said the 26-year-old Mandzukic will travel to Munich in the next few days for a medical.

Mandzukic scored three goals for Croatia at the European Championship though his team failed to advance to the quarterfinals.

Mandzukic joined Wolfsburg from Dinamo Zagreb in 2010. He has scored 20 goals in 56 Bundesliga appearances.

Bayern and Wolfsburg agreed not to disclose details of the transfer deal.