Barcelona says it has signed Denmark forward Martin Braithwaite to help fill its injury-depleted attack.
Barcelona said on Thursday it agreed to pay the 18 million euros ($19.4 million) buyout clause in Braithwaite's contract with Spanish league rival Leganés.
Barcelona was granted permission to sign a Spanish league player after it was left without Luis Suárez and Ousmane Dembele for long periods due to injuries to both attacking players.
Braithwaite will sign for the rest of this season plus four more, according the club.
He will not be eligible to play in the Champions League this season, just la Liga.
The 28-year-old Braithwaite has played for the last year at Leganés, where he arrived in mid-season of 2018-19 and helped the modest club avoid relegation.
He has eight goals in 27 appearances for Leganés this season.
His prior clubs included Middlesbrough, Girondins, and Toulouse. He played in the 2018 World Cup for Denmark.
Barcelona highlighted his ability to play "on both sides of the attack, his work ethic and commitment" and added he is a "headache for rivals."