in december 1798, when piemonte was annexed by france, maria theresa left with her lady-in-waiting for graz in austria, where she was permitted to remain and where she died in 1805. because she died before her spouse became king of france, she remained countess of artois. she was buried in the imperial mausoleum near to graz cathedral.