The Treaty of Huế was signed on April 14, 1863 between representatives of Vietnam and the French Empire. Based on the terms of the accord, three Vietnamese ports were opened (Tourane, Balat and Quảng Yên). Moreover, freedom of missionary activity was permitted and Vietnam's foreign affairs were under French imperial protection. Saigon, seized by the French in 1862, was declared the capital of French Indochina. Overall, the treaty confirmed the tenets of the First Treaty of Saigon.