Atlético Madrid have confirmed the departure of Diego Costa from the club after reaching an agreement to terminate his contract.

Costa’s deal was due to expire at the end of the current season, but the LaLiga leaders have allowed the striker to make an early exit. The former Spain international only played seven league games for the Primera side this season, scoring twice.

A club statement on Tuesday read: “Agreement with Diego Costa for the termination of his contract. The club wishes the striker the best of luck in the next stage of his professional career.”

Costa scored 83 goals and created 36 in 215 games for Atlético. Head coach Diego Simeone was a big fan of the veteran forward, helping the Argentine guide the club to their first LaLiga title in 18 years in the 2013-14 season. He also lifted the Copa del Rey, Europa League and UEFA Super Cup (twice) during his spell in the Spanish capital.