Pepe Reina has completed his move from Liverpool to Bayern Munich, the Bundesliga club have announced.
The Spanish goalkeeper, who spent last season on loan at Napoli, has signed a three-year deal with the German champions.
He is expected to be the back-up to Manuel Neuer at the Allianz Arena next season.
Reina served as Liverpool's number one for eight seasons following his signing from Villarreal in 2005, but the arrival of Simon Mignolet last summer saw him reunited with former Reds boss Rafael Benitez in Italy.
Benitez was known to be interested in signing the Spain international on a permanent deal, but Napoli refused to meet the £3.95m release clause in his contract and Reina travelled to the United States for Liverpool's pre-season tour following the World Cup.
He will now make a fresh start in Germany, although the 31-year-old is likely to find it more difficult to get first-team football in Munich than he did on Merseyside, with Germany keeper Manuel Neuer firmly established between the sticks at the Allianz Arena.
Reina came through the ranks at Barcelona, but could never fully establish himself at the Nou Camp and moved to the Yellow Submarine in 2002, spending three seasons with the club before his move to the Premier League.
While at Anfield, Reina won the FA Cup, League Cup and European Super Cup and added the Coppa Italia to his list of medals in Naples last season.