The North Carolina Classical, English, and Mathematical School—at times also called North Carolina Literary, Scientific, and Military Academy or Raleigh Institute—was a preparatory school for boys in Raleigh in the 1840s led by Robert Gray. The school opened in one of the buildings that had previously housed the Episcopal School for Boys on the Hillsborough Street site that became the campus of Saint Mary's School. In addition to "the regular Preparatory Classical Course," the school offered instruction in French, music, painting, and drawing. Gray's specialties were the classics and English, and his assistant principal Charles Doratt's were the visual arts.
The school moved in its second year into a remodeled school building in Baptist Grove (Moore Square), and later to an unidentified campus described only as "in the suburbs." In mid-1844, as the nation was involved in events leading to the Mexican War, the faculty and curriculum were enlarged to include military training. The former principal of the Portsmouth, Va., Military Academy, Oel A. Buck, became coprincipal and taught military tactics, including infantry and artillery practice, and introduced civil engineering and surveying. After Buck's departure in 1846 for service in the Mexican War, Simon Preston took over the mathematics and military department. The school apparently closed that year or early the next.