Answer
Gia Long, the first Emperor of Vietnam, modernized the country's defensive capabilities with the assistance of French experts. The French helped to build up Vietnam's military infrastructure, including fortifications, ports, and arsenals. They also trained the Vietnamese military in the use of modern weapons and tactics. Gia Long's reforms helped to make Vietnam a more formidable military power in the region.