On June 16.1779 ; Spain declares war on the Kingdom of Great Britain, and the Great Siege of Gibraltar begins.