Trial and detention