Question: Who died before the palace was completed?
Sentence: Buckingham Palace finally became the principal royal residence in 1837, on the accession of Queen Victoria, who was the first monarch to reside there; her predecessor William IV had died before its completion.
Answer in sentence: yes