Ilkay Gundogan has agreed to a two-year deal with Barcelona through 2025 with an option for a third year.

Gundogan had been a key midfielder for Manchester City since 2016.