When the Congress of the Philippines was convened in 1945, the legislators elected in 1941 chose Manuel Roxas as Senate President. In the Philippine national elections of 1946, Roxas ran for president as the nominee of the liberal wing of the Nacionalista Party. He had the staunch support of General MacArthur. His opponent was Sergio Osmeña, who refused to campaign, saying that the Filipino people knew his reputation. In the April 23, 1946 election, Roxas won 54 percent of the vote, and the Liberal Party won a majority in the legislature. When the Philippines gained independence from the United States on July 4, 1946, Roxas became the first president of the new republic.