On September 21, 1944, Laurel placed the Republic under martial law. On September 23, 1944, the Republic officially declared war against the United States and United Kingdom. Following the return of American-led Allied forces, the government of the Second Republic evacuated Manila to Baguio. The republic was formally dissolved by Laurel in Tokyo on August 17, 1945 - two days after the Surrender of Japan.