Former Real Madrid, Manchester City and West Ham United manager Manuel Pellegrini has been officially announced as the new manager of La Liga club Real Betis.
The managed will succeed Rubi, who was sacked by Betis last week.
The 66-year-old has been away from management ever since he was sacked by West Ham last December, having spent a season and a half at the club.
Pellegrini has signed a three-year contract at the club, and will start as manager next season, leaving current interim manager Alexis Trujillo to end the season, with the club currently in 13th place.
The statement by the club read: "Real Betis have signed the Chilean manager Manuel Pellegrini to lead the team from next season. It added that "Real Betis have appointed a coach of a high level and big international prestige to elevate the performance of the first team in a three-year project."
During his three-year stay with Manchester City, Pellegrini won the Premier League and two League Cups.
Previously in his career, he had managed to lead Real Madrid to second, as well as get Villarreal and Malaga into the latter stages of the UEFA Champions League.
Alexis Trujillo will remain as coach of the club for the final three games of the season, with plans for the coming season already being put into place.