Atlético Madrid signing México midfielder Héctor Herrera

<p>
              FILE - In this Friday, Sept. 2, 2016 file photo, Mexico's Hector Herrera, left, fights for the ball with El Salvador's Nelson Bonilla during a 2018 World Cup qualifier soccer match in San Salvador, El Salvador. Atletico Madrid says it has reached a deal to sign Mexico midfielder Héctor Herrera and the 29-year-old player will sign a three-year contract on Thursday July 4, 2019. (AP Photo/Salvador Melendez, File)
            </p>

MADRID (AP) — Atlético Madrid has reached a deal to sign Mexico midfielder Héctor Herrera.

The 29-year-old player will sign a three-year contract on Thursday.

Herrera played with Portuguese club Porto for the last six seasons, scoring 35 goals in 245 matches, including 41 Champions League appearances.

“I’m motivated and excited to join a historic team like Atlético Madrid and to play in the best league in the world,” Herrera wrote on Twitter.

Atlético said Wednesday it “incorporated a strong and skillful midfielder with great attacking presence and quality.”

Herrera played with Mexico in the 2014 and 2018 World Cups, and helped the team win the 2012 Olympic Games, the 2015 CONCACAF Gold Cup and the 2015 CONCACAF Cup. He scored five goals in his 70 appearances with the national team.