Domestic cats are descendants of the African wildcat, Felis silvestris lybica, which first began to associate with humans around 9,000 years ago in the Fertile Crescent. They were likely attracted to human settlements due to the abundance of rodents, and humans allowed them to stay for pest control.