(CNN) -- A British theater producer who was briefly jailed in Uganda because of his play about the challenges facing gay people in the African nation said Wednesday the case against him had been dropped.

Homosexual acts are illegal in Uganda, where most gays and lesbians face physical attacks and are treated as social outcasts.

David Cecil told CNN he was in the Ugandan court when the magistrate dismissed the case.

Read more: Uganda lawmakers to vote on anti-gay law

Speaking by phone from Kampala, he said the magistrate told the court Cecil had complied with the investigation, and was clearly not afraid to face the charges.

However, the magistrate said the prosecution failed to provide evidence to substantiate the charges, Cecil said.

The charges themselves have not been dropped, Cecil added, but if the state wanted to reopen the case, the magistrate made clear it would have to start again from the beginning.

Cecil said he was confident the state would not reopen the case.

He said plans to stay in Uganda, where his family lives.

Read more: Uganda bans 38 agencies it says are promoting gay rights

Cecil was briefly jailed in September after he was arrested on charges of "disobedience of lawful orders" for staging the play without authorization. His lawyer, John Onyango, said then that Cecil could be imprisoned for two years, if convicted.

The play, "The River and the Mountain," features an all-Ugandan cast, and tells the story of a gay businessman killed by his employees.

Answer this series of questions:

1. Who was put in jail?
2. What was his name?
3. Who interviewed him?
4. Where was he arrested?
5. What happened to the case?
6. Have the charges gone away?
7. Can the case be reopened?
8. Was Cecil ever arrested before?
9. When was he arrested?
10. Who is his attorney?
1. British theater producer who was briefly jailed British Theater Producer
2. David Cecil told CNN he was in the Ugandan court when the magistrate dismissed the case. David Cecil
3. David Cecil told CNN CNN
4. jailed in Uganda Uganda
5. the case against him had been dropped. Dropped
6. The charges themselves have not been dropped, Cecil added. No
7. Cecil said he was confident the state would not reopen the case. Appears unlikely
8. Cecil was briefly jailed in September Yes
9. Cecil was briefly jailed in September after he was arrested on charges of "disobedience of lawful orders" September
10. His lawyer, John Onyango. John Onyango