In 1604, the provincial name was changed to Quảng Bình. Lord Nguyễn Phúc Khoát divided Quảng Bình into 3 counties (dinh): dinh Bố Chính (formerly dinh Ngói), dinh Mười (or dinh Lưu Đồn), and dinh Quảng Bình (or dinh Trạm). The province was established in 1831, with the part of phủ Quảng Ninh, then added phủ Quảng Trạch. Under French colony (French Indochina, Quảng Bình was situated in Annam of French Indochina and Đồng Hới airbase in Quảng Bình was used by the French to attack the Việt Minh in north-central Vietnam and the Laotian Pathet army in north and south Laos. In 1954, the Geneva Accord was signed by France, Vietnam, and other parties involved. According to which, Vietnam was to be temporarily divided into 2 parts, with the 17th parallel as the boundary. North Vietnam was under the control of the Communist party while the South was an anti-communist and French collaborators control. A universal election was to be held in 1956 in order to determine the unification of Vietnam. However, in the South, Ngô Đình Diệm held a referendum, which determined the form of government for the South; consequently, leading to the foundation of the Republic of Vietnam.