text: Founded as a seaport in 1888 by the Spaniard Eloi Pino , Djibouti became the capital of French Somaliland in 1891 , replacing Tadjourah .
simplified: Djibouti was founded as a seaport in 1888 . The city became the capital of French Somaliland in 1891 .