Manchester City right-back Pablo Maffeo is to join Stuttgart on a permanent deal, the clubs have announced.
The 20-year-old Spain Under-21 international will officially make the switch on July 1, on a contract running to the summer of 2023.
Maffeo has made three first-team appearances for City, and had loan spells in each of the last three seasons with Spanish side Girona.
Maffeo said he decided on the switch after speaking to City boss Pep Guardiola based on his experiences with Bayern Munich.
"Pep Guardiola has told me a lot of positive things about the Bundesliga and the VFB officials have been very good with me," Maffeo said.