public school (n.)
1570s, originally, in Britain, "a grammar school endowed for the benefit of the public," but most have evolved into boarding-schools for the well-to-do. From public (adj.) + school (n.1). The main modern meaning in U.S., "school (usually free) provided at public expense and run by local authorities," is attested from 1640s.