A Finnish court convicted on Tuesday five players from Cuba’s national volleyball team of raping a woman while they were in Finland for a Volleyball World League tournament in July, before the Summer Olympics in Rio de Janeiro, according to news reports.

Prosecutors said the rape took place at a hotel in Tampere, about 105 miles north of Helsinki, in southern Finland, where the team was staying. The men had denied the accusation, saying that the woman had consented to sex.

The District Court of Pirkanmaa sentenced four of the men, including the team’s captain, to five years in prison, while a fifth man was sentenced to three and a half years. A sixth member of the team was acquitted.