In 2004, the Swedish government received a request from the United States to lease HSwMS Gotland – Swedish-flagged, commanded and manned, for a duration of one year for use in antisubmarine warfare exercises.
The Swedish government granted this request in October 2004, with both navies signing a memorandum of understanding on 21 March 2005.
The lease was extended for another 12 months in 2006.
In July 2007, HSwMS Gotland departed San Diego for Sweden.

HSwMS Gotland managed to snap several pictures of USS Ronald Reagan during a wargaming exercise in the Pacific Ocean, effectively "sinking" the aircraft carrier.
The exercise was conducted to evaluate the effectiveness of the US fleet against diesel-electric submarines, which some have noted as severely lacking.
In 2004, the Swedish government received a request from the United States to lease HSwMS Gotland – Swedish-flagged, commanded and manned, for a duration of one year for use in antisubmarine warfare exercises. The Swedish government granted this request in October 2004, with both navies signing a memorandum of understanding on 21 March 2005. The lease was extended for another 12 months in 2006. In July 2007, HSwMS Gotland departed San Diego for Sweden.
HSwMS Gotland managed to snap several pictures of USS Ronald Reagan during a wargaming exercise in the Pacific Ocean, effectively "sinking" the aircraft carrier. The exercise was conducted to evaluate the effectiveness of the US fleet against diesel-electric submarines, which some have noted as severely lacking.
Gotland-class submarine