After hours of contentious and often emotional debate, the Texas House passed HB 12, the controversial "sanctuary cities" legislation, which would prohibit cities, counties and other governmental entities or special districts from adopting a policy that prevents law enforcement from asking persons lawfully detained or arrested if they are in the country legally.