Translate the following English sentence to French:
"The trial took place behind closed doors and the defendant was only allowed one witness."
Le procès a eu lieu à huis clos et un seul témoin a pu être entendu.