(CNN) -- German international striker Lukas Podolski has agreed to rejoin former club Cologne from Bayern Munich at the end of the campaign.
Striker Lukas Podolski will rejoin former club Cologne on a four-year contract at the end of the current season.
Podolski signed for Bayern in 2006, but has grown increasingly frustrated at his lack of first-team opportunities at the Allianz Arena.
A statement on Cologne's official Web site confirmed: "Bayern Munich and Cologne today agreed on the transfer of Lukas Podolski. Lukas Podolski will join on July 1, 2009 and gets a four-year contract."
Officials from Bayern and Cologne met in Munich last week to negotiate the protracted transfer, which had been on the cards since the summer.
The main stumbling block was thought to have been the transfer fee, with Bayern holding out for a reported 10 million euros.
The statement continued: "Details (of the deal) have not been released. The deal with Bayern Munich includes a friendly match."
Cologne general manager Michael Meier left the team's winter training camp in Belek, Turkey, to seal the deal.
He said: "They were difficult negotiations, but we have, together with Bayern, found a good solution -- for the player and for his future career at Cologne."