His father was a civil servant and first Mayor of Colombo.Layard was appointed Chief Justice on 21 March 1902, upon the retirement of John Winfield Bonser, and took up the position on 26 April 1902.
He was one of the first Chief Justices produced by the local bar, and served until he was succeeded by Joseph Turner Hutchinson in June 1906.