It was (and is) a US territory, with a key US airbase located there. The US hosted nuclear weapons there from 1951 until 1978.