Jerez de la Frontera is a municipality in the province of Cádiz in the autonomous community of Andalusia in southwestern Spain, situated midway between the sea and the mountains. As of 2008, the city, the largest city in the province, had 205,364 inhabitants; it is the fifth largest in Andalusia. It has become the transportation and communications hub of the province, surpassing even Cádiz, the provincial capital, in economic activity. Jerez de la Frontera is also, in terms of land area, the largest municipality in the province, and its sprawling outlying areas are a fertile zone for agriculture. There are also many cattle ranches and horse-breeding operations.