Before the Declaration of Independence, Patriot leaders in South Carolina created a shadow government to replace the authority of British royalty. This became the Republic of South Carolina.