Question: who controlled vietnam during the late 1800s to 1954
Answer: The Nguyễn dynasty lasted until Bảo Đại 's abdication in 1945 .