Being caught in a trap or a difficult situation you can't escape from, or when police trick someone into committing a crime.
From 'en-' (to cause to be) plus 'trap' (a device for catching something). The legal meaning developed in the 20th century in American jurisprudence.
Try Another Word