The police chief in St. Peter intervened Thursday to prevent federal immigration agents from taking a local resident into detention.