Barcelona will receive a fee of €10 million (£9m/$11m) after Getafe exercised their option to buy Marc Cucurella on Tuesday.
Cucurella began his professional career at Barca in 2017, but ended up being sold to Eibar two years later after failing to break into the senior squad.
However, the Blaugrana performed a swift U-turn and triggered the €4 million buy-back clause in the Spaniard's contract just 16 days after his departure, before sending him straight out on loan to Getafe for the 2019-20 season.
Cucurella has been deployed on the left wing under Jose Bordalas at Coliseum Alfonso Perez, where he has contributed one goal and six assists in 39 games across all competitions.
The 21-year-old's performances have helped Getafe rise to fifth in La Liga and within sight of Champions League qualification, and they have now taken steps to ensure his services will be retained beyond the end of the current campaign.
Cucurella's move to Getafe has been officially made permanent, bringing to an end his long-term affiliation with Barca once and for all.
Cucurella had been linked with a move to the Premier League earlier this year, with Chelsea reportedly among his potential suitors, and Barca will receive 10% of any fee if the versatile star switches clubs again in the future.
Bordalas is currently preparing his side for a crucial meeting with La Liga leaders Real Madrid on Thursday night.
Getafe's chances of a top-four finish will be significantly boosted if they can pull off an upset, and they could do Cucurella's former club Barca a huge favour in the process.
Quique Setien's side are trailing Madrid by two points with six games remaining, having dropped points in their last two outings against Sevilla and Celta Vigo.
Barca will look to get back to winning ways when they take on Atletico on Tuesday, five days before they take in a trip to El Madrigal to face Villarreal.
Getafe will also be in action on July 5, with an away fixture against Osasuna scheduled which could end up have a huge bearing on their final league position.