Gibraltar is a British Overseas Territory on the south coast of Spain known for the Rock of Gibraltar, a 416m limestone ridge at its centre. Gibraltar occupies 7 sq. km of a peninsula bordered to the north by the region of Andalusia. First settled by Moors in the Middle Ages and later ruled by Spain, the outpost was joined to Britain in 1713. Gibraltar has a subtropical Mediterranean climate with mild winters and warm summers. Rain occurs mainly in winter, with summer being generally dry. There is a Gibraltar Cable Car which runs from ground level to the top of the Rock, with an intermediate station at Apes’ Den.