<Table> <Tr> <Td> </Td> <Td> This section does not cite any sources . Please help improve this section by adding citations to reliable sources . Unsourced material may be challenged and removed . (July 2012) (Learn how and when to remove this template message) </Td> </Tr> </Table> <Tr> <Td> </Td> <Td> This section does not cite any sources . Please help improve this section by adding citations to reliable sources . Unsourced material may be challenged and removed . (July 2012) (Learn how and when to remove this template message) </Td> </Tr> <P> Beaufort was chartered in 1711 as the second major settlement in South Carolina and named after Henry Somerset, 2nd Duke of Beaufort . The settlement grew very slowly, due to a major attack by the Yemassee in 1717 and the threat of Spanish invasion . It was not until 1733 and the founding of Georgia as a buffer colony did Beaufort truly grow in population and prestige . Though most administrative powers during the early Carolina colony was focused in Charleston, the city gained a reputation for its excellent harbor and the establishment of several church congregations, most notable being St. Helena's Episcopal . By 1776, the city became well known for its shipbuilding enterprises, its rice and indigo trade, and was home to a new circuit court for the colony . </P> <P> The American Revolution split loyalties in the community, with several families supporting the Tories while others favored independence . Many men fought in battles elsewhere in the state, though little warfare was conducted in and around Beaufort . Following the 1778 capture of nearby Savannah, Georgia, British forces moved to occupy Port Royal Island in late January 1779, but were repulsed by militia under the command of William Moultrie in the Battle of Beaufort . The area was successfully occupied by the British later in 1779, but they withdrew when Savannah came under siege . Most of coastal South Carolina was dominated by British forces after the 1780 Siege of Charleston . After the American victory in the 1781 Siege of Yorktown, the British began moving out of the Lowcountry in the summer of 1782 . The Treaty of Beaufort fixing the boundary between South Carolina and Georgia was signed in the city in 1787 . </P>

How did beaufort south carolina get its name
find me the text answering this question