The above is completely incorrect, in that blacks were banned from attending UNC.
During the era of segregation blacks were not allowed to attend white schools! But there were black schools and colleges. (not saying that was right or fair, only that they existed.)
"North Carolina's Historically Black Colleges and Universities (HBCUs)
Prior to the conclusion of the Civil War in 1865, the majority of African Americans in the United States were enslaved persons living in the southern states. Education for African Americans was sparse, especially in the South with laws such as North Carolina's that prohibited teaching enslaved persons to read and write. It was a rare occurrence for an African American to be literate. While there were a few schools dedicated to African American education in the North prior to the Civil War, the first college available to African Americans in the South was Shaw University, which opened its doors in 1865. A number of institutions dedicated specifically for the education of African Americans were founded in the era immediately following the Civil War and others followed when segregation limited equal access to education. These schools are often known as Historically Black Colleges and Universitites, or "HBCUs".
North Carolina has twelve historically black colleges and universities, including the oldest in the South, Raleigh's Shaw University, founded in 1865, and North Carolina's newest HBCU, North Carolina Central University, founded in 1910 in Durham. Ten of these schools continue to operate today."
https://www.ncpedia.org/education/hbcu?page=1
What's correct is the fact that if was a DEMOCRAT (socialist progressive) PARTY ideology (Jim Crow laws...etc..,) that allowed blacks to be the subject of discrimination in spite of the 14th amendment to the US CONSTITUTION. Just ask progressive Woodrow Wilson how JIM CROW showed up at the federal level.