History of the Domestic Cat
A bronze statue of the Ancient Egyptian cat goddess Bastet
So how did cats come to live in close proximity to humans? The earliest signs of domestication were found in ancient Egypt. It is believes the initial cause of domestication likely involved a utilitarian role of cats as predators. There were many rodents in Egyptian granaries, for example, and cats were adept at keeping the rodent numbers in check.
It is also believes that cats held a spiritual significance and were considered a deity in some cultures. They enjoyed several centuries as a protected and adorned species.
In the Middle Ages, however, the cat's place in society underwent a shift, and they began to be scorned by many due to perceived associations with female sensuality and witchcraft. It really is a fascinating history for those of you who wish to look into it further.
http://upload.wikimedia.org/wikipedia/commons/1/13/Egypte_louvre_058.jpg