A judge in Rwanda has granted bail to a U.S. lawyer on medical grounds.

Peter Erlinder was arrested and charged with genocide ideology late last month. Since his arrest he’s been hospitalized multiple times. A judge in Kigali on Thursday granted Erlinder bail on medical grounds, but it wasn’t immediately clear if Erlinder is allowed to leave Rwanda. Erlinder, a professor at William Mitchell College of Law in St. Paul, Minnesota, was arrested May 28 while in Rwanda to help with the legal defense of an opposition leader. Erlinder’s brother, Scott Erlinder, said he suspects political pressure from around the world contributed to the judge’s ruling.