The Philippines' Department of Foreign Affairs is the executive department of the Philippine government tasked to contribute to the enhancement of national security and the protection of the territorial integrity and national sovereignty, to participate in the national endeavor of sustaining development and enhancing the Philippines' competitive edge, to protect the rights and promote the welfare of Filipinos overseas and to mobilize them as partners in national development, to project a positive image of the Philippines, and to increase international understanding of Philippine culture for mutually-beneficial relations with other countries.HistoryPost-War PhilippinesDuring the period when the Philippines was a colony of the United States, the Government did not take an active role in the crafting and execution of its foreign policy. This was also the case during Japan's occupation of the Philippines from 1942 to 1944. The country regained full control of foreign affairs and diplomatic matters on July 4, 1946, when Commonwealth Act No. 732 was passed creating the Department of Foreign Affairs. On September 16, President Manuel Roxas issued Executive Order No. 18, which provided for the organization and operation of the DFA and the Foreign Service. The main tasks of the DFA then were to assist in postwar rehabilitation, formulate policies for the promotion of investment, and re-establish diplomatic relations with neighboring countries.