Humans have maintained  populations of useful  animals around their  positions of habitat  since pre-historic times. They have  deliberately  fed dogs  seen  useful, while  disregarding or killing others, thereby  founding  a relationship between humans and  targeted types of dog over thousands of years. Over these millennia, domesticated  dogs have developed into distinct  types, or groups , such as livestock   shielder dogs.