Claim: On July 26, 1847, Liberia declared its independence.

Liberia -LSB- laɪˈbɪəriə -RSB- , officially the Republic of Liberia , is a country on the West African coast . It is bordered by Sierra Leone to its west , Guinea to its north and Ivory Coast to its east . It covers an area of 111369 km2 and has a population of 4,503,000 people . English is the official language and over 20 indigenous languages are spoken , representing the numerous tribes who make up more than 95 % of the population . The country 's capital and largest city is Monrovia .   Forests on the coastline are composed mostly of salt-tolerant mangrove trees , while the more sparsely populated inland has forests opening onto a plateau of drier grasslands . The climate is equatorial , with significant rainfall during the May -- October rainy season and harsh harmattan winds the remainder of the year . Liberia possesses about forty percent of the remaining Upper Guinean rainforest . It was an important producer of rubber in the early 20th century .   The Republic of Liberia began as a settlement of the American Colonization Society -LRB- ACS -RRB- , who believed blacks would face better chances for freedom in Africa than in the United States . The country declared its independence on July 26 , 1847 . The U.S. did not recognize Liberia 's independence until during the American Civil War on February 5 , 1862 . Between January 7 , 1822 and the American Civil War , more than 15,000 freed and free-born blacks , who faced legislated limits in the U.S. , and 3,198 Afro-Caribbeans , relocated to the settlement . The black settlers carried their culture with them to Liberia . The Liberian constitution and flag were modeled after those of the U.S. On January 3 , 1848 , Joseph Jenkins Roberts , a wealthy , free-born African American from Virginia who settled in Liberia , was elected as Liberia 's first president after the people proclaimed independence .   Liberia is the only African republic to have self-proclaimed independence without gaining independence through revolt from any other power , and is Africa 's first and oldest modern republic . Liberia retained its independence during the Scramble for Africa . During World War II , Liberia supported the United States war efforts against Germany and in turn the U.S. invested in considerable infrastructure in Liberia to help its war effort , which also aided the country in modernizing and improving its major air transportation facilities . In addition , President William Tubman encouraged economic changes . Internationally , Liberia was a founding member of the League of Nations , United Nations and the Organisation of African Unity .   Political tensions from the rule of William R. Tolbert resulted in a military coup in 1980 that overthrew his leadership soon after his death , marking the beginning of years-long political instability . Five years of military rule by the People 's Redemption Council and five years of civilian rule by the National Democratic Party of Liberia were followed by the First and Second Liberian Civil Wars . These resulted in the deaths and displacement of more than half a million people and devastated Liberia 's economy . A peace agreement in 2003 led to democratic elections in 2005 , in which Ellen Johnson Sirleaf was elected President . Recovery proceeds but about 85 % of the population live below the international poverty line . Liberia 's economic and political stability was threatened in the 2010s by an Ebola virus epidemic ; it originated in Guinea in December 2013 , entered Liberia in March 2014 , and was declared officially ended on May 8 , 2015 .