Many law enforcement agencies are working to build relationships and gain the trust of people in their communities.