Newly promoted Huesca have completed the signing of Villarreal defender Ruben Semedo on a season-long loan after his release from jail.
The central defender left jail earlier this week after spending five months behind bars by paying a €30k deposit.
The 24-year-old was charged with a number of offences including robbery, assault, kidnapping and attempted murder.
A brief statement from Huesca highlighted Semedo’s “aerial ability, velocity and agility” but made no reference to his off-field controversies.
On 20 February, Semedo was detained for supposedly tying up and assaulting a man in his home alongside two others, then proceeding to go to the victim's house to rob the property.
The Portuguese must remain in Spain and not go within 300 metres of the victim, while he must return to court on a weekly basis to confirm his whereabouts.
The complainant alleges that he was locked in a room after being immobilised, while the accused stole his keys, broke into his apartment and carried out large scale theft, with gunshots also said to be involved to intimidate the individual.
The defender has now been suspended without pay by Villarreal and had previous applications for bail thrown out by the court.
The Portugal international’s run-in with the law made headlines in Spain earlier this year after allegedly carrying a firearm at a nightclub in Valencia in November and smashing a man over the head with a glass bottle in separate incidents.
Semedo joined Villarreal from Sporting CP in the summer for €14m but has played only four league games due to his season being disrupted by injuries.
See the latest La Liga predictions and betting tips with Eurotips.co.uk