Mariana Victoria was the eldest daughter of Philip V of Spain and Elizabeth Farnese. As a child, she was engaged to Louis XV of France, but went back to Spain to continue her education. The engagement was later broken off and she was instead engaged to the future Joseph I of Portugal. She married Joseph on January 19, 1729. When her husband was declared incapable of ruling in 1774, she was proclaimed Regent, and acted as the Regent for Portugal in all matters until Joseph's death on February 24, 1777. Upon her husband's death, their eldest daughter Maria became the first queen regnant as Maria I of Portugal.