Some people leave their mark on a hometown.
Others leave their mark on an entire state.
William Gaston did both.
Born in New Bern in 1778, Gaston rose from the streets of this small coastal town to become one of North Carolina's most respected lawyers, lawmakers and judges. He served in the state legislature, represented North Carolina in Congress and eventually sat on the North Carolina Supreme Court.
Yet for generations of North Carolinians, his most familiar contribution came not from a courtroom or legislative chamber.
It came from a song.
William Gaston wrote the words that became “The Old North State,” the official state song of North Carolina.
A Son of New Bern
William Gaston was born in New Bern on September 19, 1778, the son of Alexander and Margaret Sharpe Gaston.
His childhood unfolded during the turbulent years of the American Revolution. His father, Alexander Gaston, supported the Patriot cause and was killed during the war when William was still a young child.
His mother was Roman Catholic, and William was raised in that faith at a time when Catholics represented a small minority in North Carolina.
Education eventually carried the young New Bernian beyond his hometown. He attended Georgetown Academy and later studied at the College of New Jersey, now Princeton University, before returning to North Carolina and entering the legal profession.
From New Bern to Public Life
Gaston quickly established himself as a lawyer and public servant.
Beginning around the turn of the nineteenth century, he served in North Carolina government and eventually held positions in both houses of the General Assembly.
He later represented North Carolina in the United States House of Representatives from 1813 to 1817.
But Gaston's most lasting professional influence came through the law.
In 1833, he was appointed to the North Carolina Supreme Court, where he served until his death in 1844.
For a man born in a relatively small river town in eastern North Carolina, it was a remarkable journey.
Yet New Bern remained part of his identity.
A Catholic in Public Life
Gaston also lived during a period when religious identity could determine whether a person was permitted to hold public office.
North Carolina's constitution contained language restricting officeholding based on religious belief. As a prominent Catholic, Gaston became an important voice in the debate over those restrictions.
At the North Carolina Constitutional Convention of 1835, he advocated for greater religious freedom and helped bring about a change in the state's religious qualification for public office.
His Catholic faith also became part of New Bern's religious history. Gaston was involved in the Catholic community that ultimately established St. Paul's Catholic Church in New Bern, one of the city's enduring historic institutions.
The Words North Carolina Would Remember
For all his accomplishments in law and government, Gaston's most widely remembered words were written outside the courtroom.
During the 1830s, Gaston heard a melody associated with visiting Swiss bell ringers while he was in Raleigh.
The tune stayed with him.
He wrote patriotic words to accompany it—words celebrating North Carolina and defending the state against those who dismissed it as backward or unimportant.
The song became known as “The Old North State.”
It spread long before radio, recordings or modern communications could carry a song across North Carolina. It was sung, remembered and passed from one generation to another.
In 1927, more than eighty years after Gaston's death, the North Carolina General Assembly officially adopted “The Old North State” as the state song.
The New Bern boy's words had become part of North Carolina's identity.
A Complicated Man in a Complicated Time
Like many important figures from the early nineteenth century, Gaston's life does not fit neatly into a simple description.
He spoke against aspects of slavery and, as a judge, issued decisions recognizing certain legal rights of free and enslaved Black North Carolinians. At the Constitutional Convention of 1835, he also opposed efforts to strip free Black men of voting rights.
At the same time, Gaston himself was a slaveholder.
Remembering historical figures honestly requires acknowledging both.
Gaston could challenge some of the injustices of his time while still participating in an institution that denied freedom to others.
That contradiction is part of his story—and part of the larger history of North Carolina.
A Name Across North Carolina
William Gaston died on January 23, 1844.
His influence did not disappear with him.
Gaston County was named in his honor. So were the city of Gastonia and Lake Gaston. His legal career became part of North Carolina judicial history, while the song he wrote became an official symbol of the state.
And back in New Bern, the city where his life began, his connection remains especially strong.
He is buried in Cedar Grove Cemetery, surrounded by generations of the New Bern community whose history he helped shape.
People of New Bern
It would have been impossible for the child growing up in eighteenth-century New Bern to know where his life would lead.
He would become a legislator.
A congressman.
A Supreme Court justice.
An advocate in some of the defining constitutional debates of his generation.
And a writer whose words would eventually be sung by schoolchildren, musicians, public officials and ordinary North Carolinians across the state.
William Gaston belonged to North Carolina.
But his story began here.
Before North Carolina sang his words, William Gaston was a son of New Bern.