sentence: on 4 september 1439 , bishop bullock appended his seal to the contract between joan beaufort , queen dowager , and sir alexander livingston of callendar , a contract that made livingstone guardian of the boy king , james ii of scotland .