In his character as legislator he was most distinguished for his industry and attention to details, especially in the department of statistics and taxation, in which he soon became the highest authority in the body of which he was a member. He was prominent in getting the bill passed for the building of the French Broad Turnpike, a measure which revolutionized the intercourse between Tennessee, Kentucky, and South Carolina, bringing an immense stream of emigration, travel, and trade through western North Carolina, and adding greatly to his own popularity among the people of that region.

In 1829 he was elected, by the Legislature, Solicitor of the Edenton Circuit, a circumstance remarkable in our legal annals, both on account of his extreme youth at the time of his election to so important an office, and because the Edenton Circuit was in the most distant part of the State from his residence, and it had been the custom to select for that office a lawyer residing in the district for which he was elected. This compliment to his learning and ability was conferred upon him without solicitation, under the following circumstances: A bitter contest had sprung up between two candidates for that position, one of whom was the notorious Robert Potter, and the friends of neither consenting to give way, by common consent both sides agreed to take young Swain.

Lives of Distinguished North Carolinians — Part 153

He rode only one circuit, when the next Legislature elected him a Judge of the Superior Court over Judge Seawell, then an able and eminent practitioner at the Raleigh bar. Swain was at that time the youngest man ever elevated to the bench in this State, except Judge Badger, who was elected at the age of twenty-six. He had ridden four circuits as judge with great acceptance, when in 1832 he was elected by the Legislature to be Governor of the State over several competitors, and was inaugurated on the first day of January, 1832. Under the Constitution of 1776 the term of Governor was only one year, and Governor Swain was reelected in 1833 and 1834 successively. Just previous to the close of his official term in 1835 he was elected President of the State University, under the following circumstances: It is said that he would have continued in politics if the way had then been clear for him to go to the United States Senate; or that he would have continued in the law, could he then have returned to the bench. But the way to neither being at that time open to him, he had no desire to return to the practice of law, or to continue further in State politics, in which he had already attained the highest honors which his State had to bestow. Under these circumstances, he turned his eyes towards the presidency of the University, vacant since January, 1835, by the death of the venerable and lamented Dr. Joseph Caldwell. But great as was his reputation as lawyer and politician, his character as a scholar was by no means so established, nor had public attention been directed to him as a fit person to take charge of an institution of learning. He one day called his friend, Judge Nash, into the executive office and told him frankly that he desired to be made President of the University; and seeing that the Judge did not express much approbation of the project, he asked him to consult with Judge Cameron, and if they two did not approve of it, he would abandon the idea. Nash promised to do so, and on meeting Judge Cameron gave him his opinion that Swain would not do for the place. Cameron, however, dissented at once, saying that Swain was the very man; that though it was true he was not a scholar, yet he had all the other necessary elements of success; and that the man who had shown he knew so well how to manage men could not fail to know how to manage boys. So, at the next meeting of the Board of Trustees, Judge Cameron nominated him and secured his election to the Presidency. This closed his political and judicial career.

Lives of Distinguished North Carolinians — Part 153