Entrapment is a legal concept that describes the situation when a person is induced, induced or otherwise encouraged to do something illegal which they would not have done otherwise. Entrapment typically occurs when a law enforcement officer, or someone working on behalf of a law enforcement agency, induces an individual to commit a crime of which they had no prior intention. There are two main types of entrapment: subjective entrapment and objective entrapment. Subjective entrapment is when a law enforcement officer manipulates a person into committing a crime by exploiting their weaknesses, such as addiction or mental illness. Objective entrapment occurs when the actions of the law enforcement officers are so outrageous or coercive that any reasonable person would not have committed the crime if not for the actions of the officers. Entrapment is considered a violation of due process, and if proven, can be used as a defense in criminal proceedings. Defendants must show that the government induced them to commit the crime, and that they had no prior intention to do so.