In 1729 at the age 18 , Barbara married the future Ferdinand VI of Spain , two years her junior .
In 1729 , when she was 18 years old , she married the future King Ferdinand VI of Spain , in Badajoz , Spain .