(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.  QUESTIONS:

Q1:
1. Who got sent to jail?
2. Who was imprisoned?
3. 
Q2:
1. What is the name of the British theater producer?
2. What was the name of the man that was jailed?
3. 
Q3:
1. Who interviewed David Cecil?
2. What media outlet did David Cecil speak with?
3. 
Q4:
1. Where did authorities detain David Cecil?
2. Where was David Cecil arrested?
3. 
Q5:
1. What became of the case against David Cecil?
2. What happened to the legal case against David Cecil?
3. 
Q6:
1. Have the charges against David Cecil gone away?
2. Have charges been dropped against David Cecil?
3. 
Q7:
1. Can the case against David Cecil be reopened?
2. Can authorities bring David Cecil up on the same charges in the future?
3. 
Q8:
1. Has David Cecil been arrested in the past?
2. Has it ever happened before that David Cecil has been detained?
3. 
Q9:
1. When was David Cecil arrested?
2. In what month was David Cecil previously detained?
3. 
Q10:
1. Who is David Cecil's attorney?
2. Who has David Cecil retained as legal counsel?
3. 
