Complex sentence: Djibouti was obtained as a colony by France in 1862 and officially controlled Djibouti until it received independence in 1977.
Split into simpler sentences: Djibouti was obtained as a colony by France in 1862. France officially controlled Djibouti until it received independence in 1977.