On 24 August 1704 the indecisive Battle of Málaga, the largest naval battle in the War of the Spanish Succession, took place in the sea south of Málaga.