Maria Beatrice was born in Modena , the eldest child of two monarchs , Ercole III d'Este , Duke of Modena and Maria Teresa Cybo-Malaspina , reigning duchess of Massa and princess of Carrara .
She was the only daughter of Ercole III of Modena and Maria Teresa Cybo-Malaspina , ruling Duchess of Carrara and Massa .