A high court in Ghana has granted bail to 21 gay rights activists arrested three weeks ago for what police described as an unlawful gathering, the prosecutor said on Friday. The 16 women and five men, who were arrested on May 20 at a hotel where they were attending a rights advocacy training, were released on a 5,000 Ghana cedi ($866) bail, the prosecutor said. The arrest has drawn condemnation as lesbian, gay, bisexual and transgender people face widespread persecution in the West African nation, where gay sex is punishable by up to three years imprisonment. Ghana has not prosecuted anyone for same-sex relations in years, but the LGBT+ community has reported a crackdown by authorities in recent months.