criteria. Law and forensic psychology Definitions Pedophilia is not a legal term, and having a sexual attraction to children is not illegal. In law enforcement circles, the term pedophile is sometimes used informally to refer to any person who commits one or more sexually-based crimes that relate to legally underage victims. These crimes may include child sexual abuse, statutory rape, offenses involving child pornography, child grooming, stalking, and indecent exposure. One unit of the United Kingdom's Child Abuse Investigation Command is known as the "Paedophile Unit" and specializes in online investigations and enforcement work. Some forensic science texts, such as Holmes (2008), use the term to refer to offenders who target child victims, even when such children are not the primary sexual interest of the offender. FBI agent Kenneth Lanning, however, makes a point of distinguishing between pedophiles and child molesters. Civil and legal commitment In the United States, following Kansas v. Hendricks, sex offenders who have certain mental disorders, including pedophilia, can be subject to indefinite civil commitment under various state laws (generically called SVP laws) and the federal Adam Walsh Child Protection and Safety Act of 2006. Similar legislation exists in Canada. In Kansas v. Hendricks, the US Supreme Court upheld as constitutional a Kansas law, the Sexually Violent Predator Act, under which Hendricks, a pedophile, was found to have a "mental abnormality" defined as a "congenital or acquired condition affecting the emotional or volitional capacity which predisposes the person to commit sexually violent offenses to the degree that such person is a menace to the health and safety of others", which allowed the State to confine Hendricks indefinitely irrespective of whether the State provided any treatment to him. In United States v. Comstock, this type of indefinite confinement was upheld for someone previously convicted on child pornography charges; this time a federal law was involved—the Adam Walsh Child Protection and Safety Act. The Walsh Act does not require a conviction on a sex offense charge, but only that the person be a federal prisoner, and one who "has engaged or attempted to engage in sexually violent conduct or child molestation and who is sexually dangerous to others", and who "would have serious difficulty in refraining from sexually violent conduct or child molestation if released". In the US, offenders with pedophilia are more likely to be recommended for civil commitment than non-pedophilic offenders. About half of committed offenders