In Victorian England, a "public school" was an elite, fee-paying boarding school for boys from the upper and middle classes—not a government-funded school as the term implies today. They were independently run (often by trustees or religious bodies) and "public" in the sense of being open to any boy who could pay, as opposed to private tutoring.
Eton College, Harrow School, Rugby School—alma maters of prime ministers, writers, scientists.
Critics noted exclusivity, cost barriers for lower classes, and overemphasis on academics at the expense of emotional/social development. The system remained largely unchanged until 20th-century reforms.