The University of North Carolina at Chapel Hill is a coeducational public research university located in Chapel Hill, North Carolina, United States. It is one of three schools to claim the title of the oldest public university in the United States. The first public institution of higher education in North Carolina, the school opened on February 12, 1795.

Until the 1970s, the university was simply known as the University of North Carolina. After the other state universities were combined into a single public university system, called the University of North Carolina, the original institution was given the new name of University of North Carolina at Chapel Hill.

Beginnings: Late 18th century

After the first constitution of the state of North Carolina was adopted in 1776 after the United States declared its independence from the Kingdom of Great Britain, work began to establish the independent state of North Carolina. Article 41 of North Carolina Constitution set forth to establish affordable schools and universities for the instruction of the young people in the state. Samuel Eusebius McCorkle made the first attempt to implement article 41. (He is remembered in the name McCorkle Place, on the UNC-CH campus.) In November 1784 he introduced a bill in the North Carolina General Assembly to establish a state university. The bill was rejected due to financial restraints and political turmoil.

Five years later, chartered by the North Carolina General Assembly on December 11, 1789, and beginning instruction in 1795, the University of North Carolina at Chapel Hill (then named simply the University of North Carolina) became the oldest public university in the nation, as measured by start of instruction as a public institution. The university was the first land grant school in North Carolina; however, shortly after they were stripped of their title for using funds in an improper manner. The College of William & Mary, chartered in 1693, and the University of Georgia, chartered in 1785, are both older as measured by date of charter. However, William & Mary was originally a private institution, and did not become a public university until 1906. Georgia has always been a public institution, but did not start classes until 1801. A political leader in revolutionary America, William Richardson Davie, led efforts to build legislative and financial support for the university.

The site of New Hope Chapel was chosen for "the purity of the water, the salubrity of the air and the great healthfulness of the climate", as well as its location at the center of the state, at the intersection of two major roads. David Ker, who conducted the local high school in Chapel Hill, was chosen as the first presiding professor of the university.

The university opened in a single building, which came to be called Old East. Still in use as a residence hall, it is the oldest building originally constructed for a public university in the United States. Davie, in full Masonic Ceremony as he was the Grand Master of the Grand Lodge of North Carolina at the time, laid the cornerstone on October 12, 1793, near an abandoned Anglican chapel which led to the naming of the town as Chapel Hill. The first student, Hinton James, from near Burgaw in what is now Pender County, arrived on February 12, 1795. While a student, James was among the students who broke off from the Debating Society (later renamed the Dialectic Society) to form the Concord Society (later renamed the Philanthropic Society). A dormitory on the UNC campus is named in his honor. It is currently the southernmost on-campus dormitory and houses primarily first-year students. Another founding member of the Concord Society and its first president, David Gillespie, the son of U.S. congressman James Gillespie, was the first person granted a document in the form of a diploma from the university. He received the document in 1796 before he left to assist Andrew Ellicott with determining the boundary of the United States after the Treaty of San Lorenzo with Spain.

When the university opened there were 41 students, rising to 100 in the second term, with a faculty of five. Entering students, according to an 1819 publication, were expected to be able to read the Bible in Greek, and to have read Caesar's Commentarii de Bello Gallico (7 books), Virgil's Bucolics and Æneid, and Ovid in Latin, the latter in an "editio expurgata".

When it opened the university received no state financial support, as the charter made no provision for it. The school depended on donations of money and land, "but North Carolinians did not give these generously, feeling that the university was too expensive, too difficult to reach from all areas of the state, and that its liberal and skeptical teachings were insufficiently Christian".

Slavery and the birth of the university "Members of the Board of Trustees were among the largest slave owners in the state."

At a Southern university, "slaves made the bricks that went into buildings, they worked the grounds and buildings around the campus. They carried water, serviced the dormitories, worked in the dining halls."

Growth and development: Early 19th century The early 19th century saw a period of much growth and development with the help of the backing of the trustees. Through this growth, the university began to move away from its original purpose, to train leadership for the state, as it added to the curriculum, first starting with the typical classical trend. By 1815, the university started giving equal ground to the natural sciences, and in 1818 the Department of Chemistry was founded. This development continued with the establishment in 1831 of the first astronomical observatory at a state university in the United States.

Considerable information about university life in Chapel Hill in the antebellum period is provided by George Moses Horton, "the black bard of Chapel Hill" and the first North Carolinian to publish a book of literature. He delivered produce to the campus every week, and goaded by the students, he found he could speak in public and write poems; composing them at night, by memory since he could not write, he provided acrostics and similar light verse. The students, "the sons of wealthy planters", paid him 25¢ to 75¢ for these pieces, which they wrote out and sent to their girlfriends.

According to Horton, the students "seemed more interested in sports, gambling, and pleasures of the table than in their studies. They often engaged in boisterous riots and at various times destroyed laboratories, recitation rooms, and blackboards. They attacked faculty with clubs, stones, and pistols; sang ribald songs; violently rang the university bell; stole farmers' produce and animals; and perpetrated assorted vulgar and dangerous pranks." On the university's own posted history, we find that students hoisted pigs into dormitory rooms. "Cheating became a sport for many students, who transformed it into 'a trial of wit between the class and the Professor, and it was considered good fun to win.' They cut holes in classroom floors, put good students under them, and passed questions down by a string—what was called "working the telegraph." "By all accounts, university students, faculty, and servants drank steadily and heavily.... Even on the Sabbath."

Student behavior later reached the attention of the Trustees, who deplored "gross irregularities of conduct by students on the railroad cars, at circuses and other places". The students on one railroad car were "so boisterous" that it was unhitched, since it was the last car, and the train proceeded without them. A thrown "fireball" deliberately started a fire that destroyed the university's bell and belfry.

The first issue of a North Carolina University Magazine, literary in focus, was published by senior students in 1844. Describing the earlier venture as having been "starved out", No. 1 of a second North Carolina University Magazine appeared in February, 1852.

The Hedrick affair During the lead-up to the 1856 United States presidential election, an attack was made in the press on an unidentified professor who allegedly supported anti-slavery candidate John C. Frémont, whose election, the Raleigh Standard opined, would inevitably lead to "a separation of the states". "Let our schools and seminaries of learning be scrutlnized; and if black Republicans [Frémont supporters] be found in them, let them be driven out. That man is neither a fit nor a safe instructor of our young men, who even inclines to Fremont and black Republicanism."

Following up on this, a lengthy letter to the editor soon appeared; signed only "Alumnus" (a student), the author was identified by university historian Kemp Battle as Joseph A. Engelhard.

In another lengthy letter, published by the author as a pamphlet after it appeared in the Standard, The pamphlet defending Hedrick contains neither date nor publisher, but it was obviously published by Hedrick in 1856. In addition to the letter of Hedrick and preliminary remarks, it concludes with an abolitionist speech at the University of North Carolina by Judge William Gaston. Professor Benjamin Hedrick, an honors graduate of the university, said that there was "little doubt" that he was the professor attacked. He quoted Thomas Jefferson as saying that "Nothing is more certainly written in the book of fate, than that these people are to be free". Citing as his "political teachers", besides Jefferson, fellow Southerners George Washington, Patrick Henry, James Madison, Edmund Randolph, Henry Clay, as well as Benjamin Franklin and Daniel Webster, "I cannot believe that slavery is preferable to freedom, or that slavery extension is one of the constitutional rights of the South." According to the newspaper when presenting his letter, "We take it for granted that Prof. Hedrick will be promptly removed." He was hung in effigy; faculty disowned him; parents threatened to withdraw their sons; and alumni joined the public in calling for his dismissal. He refused to resign and since "Mr. Hedrick had greatly, if not entirely, destroyed his power to be of further benefit to the University", he was terminated within a week, though his salary was paid through the end of the term. The only faculty member to defend him, French instructor Henry Harrisse, was terminated at the same time. Hounded by a mob, Hedrick left his native state.

Civil War

During the Civil War, the university was among the few in the Confederacy that managed to keep its doors open. Students from other seceding states left, as did many North Carolina students; by 1864, there were only 47 students. "The war ruined the University financially, so that by 1866, faculty salaries could not be paid; the University was $100,000 in debt; its buildings had deteriorated, and its entire endowment, [converted into Confederate money,] was lost through the insolvency of the Bank of North Carolina."

Later 19th century Under North Carolina's 1868 Constitution, the university's board of trustees would be appointed by the state board of education rather than the state's legislators. Historian James Leloudis argues that "this move was designed to wrest control of the campus from its ex-Confederate alumni and, in the words of Governor [William] Holden and his Republican allies, to broaden and democratize the University." The new board of trustees supported the coeducation of men and women, and endorsed plans for the establishment of a separate university branch for freedmen in Raleigh.