Setenil de las Bodegas is a town and municipality in the province of Cádiz, Spain, famous for its dwellings built into rock overhangs above the Río Guadalporcún. According to the 2005 census, the city has a population of 3,016 inhabitants.

This small town is located 157 kilometres (98 miles) northeast of Cádiz. It has a distinctive setting along a narrow river gorge. The town extends along the course of the Rio Trejo with some houses being built into the rock walls of the gorge itself, created by enlarging natural caves or overhangs and adding an external wall.

The full name of Setenil de las Bodegas dates from the 15th century, when new Christian settlers, in addition to maintaining the Arab olive and almond groves, introduced vineyards. The first two crops still flourish in the district but the once flourishing wineries—bodegas— were wiped out by the phylloxera insect infestation of the 1860s, which effectively destroyed most European vine stocks.

The site was certainly occupied during the Roman invasion of the region in the 1st century AD. Setenil was once believed to be the successor of the Roman town of Laccipo, but it was subsequently proved that Laccipo became the town of Casares in Malaga. Given the evidence of other nearby cave-dwelling societies, such as those at the Cueva de la Pileta west of Ronda, where habitation has been tracked back more than 25,000 years.

More Info: en.m.wikipedia.org