The Foley Police Department, along with the Gulf Shores Police Department, worked together to make an arrest in connection with an electronic solicitation case.