query: When did the Philippines win independence?
passage: History of the Philippines (1946–65)
On July 5, 1946, representatives of the United States of America and of the Republic of the Philippines signed a Treaty of General Relations between the two governments. The treaty provided for the recognition of the independence of the Republic of the Philippines as of July 4, 1946, and the relinquishment of American sovereignty over the Philippine Islands.[1]
passage: Philippines
On October 11, 1945, the Philippines became one of the founding members of the United Nations. The following year, on July 4, 1946, the Philippines was officially recognized by the United States as an independent nation through the Treaty of Manila, during the presidency of Manuel Roxas. Disgruntled remnants of the communist Hukbalahap continued to roam the countryside but were put down by President Elpidio Quirino's successor Ramon Magsaysay. Magsaysay's successor, Carlos P. Garcia, initiated the Filipino First Policy, which was continued by Diosdado Macapagal, with celebration of Independence Day moved from July 4 to June 12, the date of Emilio Aguinaldo's declaration, while furthering the claim on the eastern part of North Borneo.