Manchester City boss Manuel Pellegrini says he first found out about the club's decision to appoint Pep Guardiola in January.
The 45-year-old Spaniard will take over from the Chilean at the end of the season.
He agreed a three-year contract with the Citizens who are still involved in four competitions this season.
"Before I finish, I want to tell you I have talked with the club and I will finish my contract on the original date," Pellegrini is quoted as saying by Sky Sports.
"I signed for one year more [in August he extended his contract until the summer of 2017] but with the clause that the club or me can choose not to use that now. So I finish here 30 June, so there is not the speculation.
"The club are not doing anything behind me.
"I knew this one month ago but I don't think it's good to have rumour or speculation about these things, so I prefer to finish today, which is why I have told the players and I have told the press.
"I also spoke to the club two weeks ago and said that I would do it."