Hungary international midfielder Jozsef Varga is to join Middlesbrough on a one-year loan deal from Debrecen.
Varga, 25, is a defensive midfielder and has won 21 caps for his country, for whom he has often played at right-back having made his debut against Portugal in 2009.
He has won three Hungarian titles, two Hungarian Cups and two Hungarian Super Cups in his homeland, winning the country's best newcomer in 2009 and Debrecen's Player of the Year in 2012.
Varga, who spent part of last season on loan with SpVgg Greuther Furth in the German Bundesliga, will join officially on 1 July and is Boro's first transfer move of the summer.
Watford had also shown an interest in Varga, while Debrecen have confirmed that Middlesbrough have the option to make the move permanent before the end of May next year.