Retiring from the court at the death of her last husband, her grandson the future Charles III of Spain conquered Parma after the extinction of the Farnese and Dorothea Sophie acted as regent of the state till his official majority in January 1735. She died aged seventy-eight just weeks before her second grandson Infante Felipe of Spain became the next duke of Parma. 