[6] A statute of the Kingdom of Ireland was enacted in 1635 "for the erecting of Houses of Correction and for the punishment of rogues, vagabonds, sturdy beggars and other lewd and idle persons".
[9][10][11][12] The Loitering and Ruffianry Law (in Spanish: "Ley de Vagos y Maleantes") of August 4, 1933, aimed to address issues related to vagrants, nomads, procurers, and other behaviors deemed antisocial.
[13] Popularly known as "La Gandula", the law gained consensus approval from all political groups during the Second Republic, with the intention of controlling beggars, unskilled ruffians, and procurers.
Rather than imposing penalties, the law focused on preventative measures, including distancing, monitoring, and retaining individuals deemed potentially dangerous until their perceived threat had subsided.
[16] Paradoxically, those with higher purchasing power, such as "advantage players and ruffians", human traffickers, or procurers, rarely faced the harsh consequences of this law due to their legal defenses and financial means.
[21] In several jurisdictions, persons required to register as a sex offender are prohibited from loitering within a defined distance of schools, parks, or other places in which children may congregate.
[22] In 1992, the city of Chicago adopted an anti-loitering law[23] aimed at restricting gang related activity, especially violent crime and drug trafficking.
It was ruled unlawful by the Supreme Court of the United States (Chicago v. Morales, 527 U.S. 41 (1999)) as unacceptably vague by not giving citizens clear guidelines on what acceptable conduct was.