Sir Daniel Keyte Sandford DCL (3 February 1798 – 4 February 1838) was a Scottish politician and Greek scholar.
Sandford was born in Edinburgh, the second son of the Right Reverend Daniel Sandford, Bishop of Edinburgh. After receiving the rudiments of his education under the superintendence of his father, who died in January 1830, he was sent to the Edinburgh High School, and afterwards to Edinburgh University, where he distinguished himself by his progress in classical learning. In 1813 he was placed under the care and tuition of his godfather, Mr. Keyte, at Runcorn, Cheshire, and remained there for two or three years, pursuing his studies with enthusiasm and success.
In 1817 Sandford was entered as a commoner of Christ Church, Oxford. At the public examination in Easter term, 1820, he was placed in the first class, in Literae Humaniores, and October 20, the same year, he took his degree of B.A. In 1821 he gained the Chancellor’s prize for an English essay on "The Study of Modern History" and May 25, 1825, he proceeded to the degree of M.A., as a grand compounder.
The Greek chair in the University of Glasgow having become vacant, by the death of Professor James Young, Mr. Sandford, although an Episcopalian, was, on the recommendation of men of all parties, elected his successor in September 1821, at the early age of 23. In the beginning of the session of that year he entered on the duties, and by his unrivalled skill as a teacher, and the enthusiasm of his classic genius, he soon awakened a love for the study of Greek literature, not only in the University of Glasgow, but throughout Scotland.
During the Catholic emancipation struggle in 1829, Professor Sandford hastened to Oxford, and gave his vote, as a member of that university, for Sir Robert Peel. In 1830, the honour of knighthood was conferred on him by King William IV, in consideration of his literary eminence.