Arcos de la Frontera (Spanish pronunciation: [ˈaɾkos ðe la fɾonˈteɾa]) is a town and municipality in the Sierra de Cádiz comarca, province of Cádiz, in Andalusia, Spain. It is located on the northern, western and southern banks of the Guadalete river, which flows around three sides of the city under towering vertical cliffs, to Jerez and on to the Bay of Cádiz. The town commands a fine vista atop a sandstone ridge, from which the peak of San Cristóbal and the Guadalete Valley can be seen. The town gained its name by being the frontier of Spain's 13th-century battle with the Moors.