Middlesbrough have announced that they have agreed a deal with Mallorca to sign Emilio Nsue, subject to international clearance.
The former Spain Under-21 international is the Championship side's fourth signing of the summer.
Head coach Aitor Karanka told the club's website: "He is a versatile player who I have known for five years. He is a good lad with a good mentality and approach to the game.
"I know him personally and know the type of person he is, and that is important. And as a player he can play in different positions and I am delighted we have agreed a deal to sign him."
Nsue made over 200 appearances for Mallorca during his eight-year spell at the club.