Guillermo Ochoa
Guillermo Ochoa was one of the outstanding goalkeepers at the World Cup in Brazil. Getty Images

Mexico goalkeeper Guillermo Ochoa, who was a free agent after leaving French club AC Ajaccio, has agreed to join Malaga by signing a three-year contract.

The 29-year-old, who was one of the star performers at the World Cup in Brazil, had reportedly attracted interest from Arsenal and Liverpool. However, the Gunners have signed Colombia's David Ospina while the Brendan Rodgers' side look poised to retain second choice shot-stopper Pepe Reina.

Ochoa, who will be wearing the number 13 shirt, arrives at La Rosaleda Stadium as a direct replacement for Willy Caballero. Last month, the 32-year-old Argentinean was reunited with his former boss Manuel Pellgrini at Manchester City.

The statement on Malaga's official website read, "Málaga Club de Fútbol has reached an agreement to sign one of the best goalkeepers from the recent World Cup in Brazil, Francisco Guillermo Ochoa Magaña (Guadalajara, Jalisco, Mexico, 13/07/85), who will wear the Blue and Whites' shirt for the next three seasons.

"Ochoa has successfully passed the routine medical checks and will be presented today, Friday 1st August at 5 p.m. at La Rosaleda's press room."

After his presentation at the club's press room on Friday, Ochoa said, "My focus is to dedicate myself to training, work hard and give 100%. I'm very detailed in my work and always try to get the most out of myself for the good of the team, and achieve the best results possible in matches.

"The most important thing for a goalkeeper is to make sure the team feels secure and calm on the pitch. I always try to be a serious keeper, to make sure our defence feel comfortable that I have everything covered at the back when the ball is near the goal area."

"I've heard that the fans here are very passionate about football, and the stadium is full every other weekend, both in good times and bad, the fans are always behind the team," he concluded.

The Mexican international becomes the third free agent to join Javi Garcia's side in the ongoing transfer window.