Most bastides were built in the countryside. They were basically to serve the needs of local trade (usually, agriculture). A few of them were built in places which were very easy to defend. Others were built where it was possible to defend them, but most bastides were simply built where they were needed. The time when they were built was a peaceful one in the region.