qnli question: How old was Napoleon when he married Joséphine de Beauharnais? sentence: Napoleon married Joséphine de Beauharnais in 1796, when he was 26; she was a 32-year-old widow whose first husband had been executed during the Revolution.