when was the last time the coast guard was part of the navy
World War II
title: History of the United States Coast Guard text: Coast Guard itself was moved to the Department of Transportation in 1967, and on 25 February 2003 it became part of the Department of Homeland Security. However, under as amended by section 211 of the Coast Guard and Maritime Transportation Act of 2006, upon the declaration of war and when Congress so directs in the declaration, or when the President directs, the Coast Guard operates as a service in the Department of the Navy. The modern Coast Guard was created in 1915 by the merger of the United States Revenue Cutter Service and the United States Lifesaving Service, but its title: United States Coast Guard text: from the U.S. Department of the Treasury to the newly formed U.S. Department of Transportation, an arrangement that lasted until it was placed under the U.S. Department of Homeland Security in 2003 as part of legislation designed to more efficiently protect American interests following the terrorist attacks of 11 September 2001. In times of war, the Coast Guard or individual components of it can operate as a service of the Department of the Navy. This arrangement has a broad historical basis, as the Coast Guard has been involved in wars as diverse as the War of 1812, the Mexican–American War, title: Coast Guard Act text: Lighthouse Service and, in 1942, the Bureau of Marine Inspection and Navigation. In 1967, the Coast Guard was placed under the United States Department of Transportation. Since 2003, the U.S. Coast Guard has fallen under the jurisdiction of the Department of Homeland Security and as before in times of war and emergency when declared by the president it reverts to the navy's control. Coast Guard Act The Coast Guard Act of 1915 was passed by Congress on January 20, 1915, and signed into law by then-American president Woodrow Wilson on the twenty-eighth day of the same month. The act created title: United States Coast Guard text: Act of 2006, upon the declaration of war and when Congress so directs in the declaration, or when the President directs, the Coast Guard operates under the Department of Defense as a service in the Department of the Navy. As members of the military, Coast Guardsmen on active and reserve service are subject to the Uniform Code of Military Justice and receive the same pay and allowances as members of the same pay grades in the other uniformed services. The service has participated in every major U.S. conflict from 1790 through today, including landing troops on D-Day and on the title: United States Coast Guard text: the United States Coast Guard in 1967 for service during the Vietnam War. Placed under the operational control of the United States Navy and based in Pearl Harbor. It consisted of five USCG High Endurance Cutters operating on revolving six month deployments. A total of 35 High Endurance Cutters took part in operations from May 1967 to December 1971, most notably using their 5" guns to provide naval gunfire support missions. Often units within the Coast Guard operate under Department of the Navy operational control while other Coast Guard units remain under the Department of Homeland Security. For a full