In 1742 Maria Anna took over power as regent after her husband suffered a stroke, which left him partially paralyzed. When John V died on 31 July 1750 she gave up power to their eldest son Joseph I of Portugal. She died at he Palace of Belém in 1754. Her body was buried in Lisbon, her heart was brought to Vienna and buried there in the imperial crypt.