Entrapment is a legal concept in which a person is lured or encouraged to commit a crime they would not otherwise have committed. It generally occurs when law enforcement officers entice an individual to commit a crime. Entrapment is recognized in criminal law as an excuse for criminal behavior. There are two types of entrapment: subjective and objective. Subjective entrapment is based on the defendant's state of mind, while objective entrapment is based on the police officer's conduct. Subjective entrapment occurs when the defendant was not predisposed to commit the crime and was induced to do so by law enforcement. The defendant must prove that they were induced to commit the crime against their will. Objective entrapment occurs when the police have crossed the line of reasonable conduct in order to induce the defendant to commit the crime. This type of entrapment focuses on the conduct of the police officer rather than the defendant's state of mind. In order for entrapment to be successful, the defendant must prove that the police induced them to commit a crime they would not otherwise have committed.