On July 26, 1847, the settlers issued a Declaration of Independence and promulgated a constitution. Based on the political principles of the United States Constitution, it established the independent Republic of Liberia. The United Kingdom was the first country to recognize Liberia's independence. The United States did not recognize Liberia until 1862, after the Southern states, which had strong political power in the American government, declared their secession and the formation of the Confederacy.