 On 7 August of the following year, he returned to Spain and its top tier after agreeing to a one-year loan deal with Deportivo Alavés with a buyout clause.On 12 August 2018, Pina signed a permanent three-year contract with the "Glorioso".Club Brugge