Striker Bojan Miovski has joined Girona for an Aberdeen club-record fee received.
The 25-year-old North Macedonia forward scored 44 goals in 91 starts after signing two years ago from MTK Budapest.
The La Liga side finished third behind Real Madrid and Barcelona last season and will play in the Champions League this campaign.