Cornish started to diverge from Welsh towards the end of the 7th century AD and the earliest known examples of written Cornish date from the end of the 9th century AD. These were in the form of glosses scribbled in the margins of a Latin text –Smaragdus' Commentary on Donatus. 