New Zealand and the United States signed the Washington Declaration on 19 June 2012 "to promote and strengthen closer bilateral defense and security cooperation". On 20 September 2012, while on a visit to New Zealand, US Secretary of Defense Leon Panetta announced that the United States was lifting the 26-year-old ban on visits by New Zealand warships to US Department of Defense and US Coast Guard bases around the world; US Marines had trained in New Zealand and New Zealand's navy took part in the RIMPAC maritime exercises alongside the US earlier that year.