qnli question: What year did the first of the two heads of state die? sentence: Tupua Tamasese Mea'ole died in 1963, leaving Malietoa Tanumafili II sole head of state until his death on 11 May 2007, upon which Samoa changed from a constitutional monarchy to a parliamentary republic de facto.