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