The status of Gibraltar is a major point of contention in relations between the two nations, dating back to the conflicts in the early 18th century. The official status of Gibraltar is that of a British overseas territory. Captured by Dutch and British troops in 1704, the Spanish king transferred the territory to Great Britain in 1713 under the terms of of the Treaty of Utrecht.