Later, as the threat of banditry reduced, they became country homes. There are many chateaus because any large noble estate would have one, and France has a lot of nobility and a lot of farmland. Then when the French Revolution came along, and France dissolved it's nobility.