sentence1: At the time of his death , David Cardinal Beaton was Lord Chancellor of Scotland , Archbishop of St Andrews , and Cardinal Legate in Scotland .
sentence2: At the time of his death , David was Cardinal Beaton Lord Chancellor of St. Andrews , Archbishop of Scotland , and Cardinal Legate of Scotland .