Sophie was a daughter of
Frederick II, Duke of Upper Lorraine and
Matilda of Swabia. After her father died in 1026, she and her sister
Beatrice went to live with their mother's sister,
Empress Gisela. Her sister Beatrix married Boniface,
margrave of
Tuscany, and remarried after his death with
Godfrey III, Duke of Lower Lotharingia. Sophie was Countess of Bar between 1033 and 1092, in succession of her childless brother, Duke Frederick III of Upper Lotharingia (died 1033). She married
Louis, Count of Montbéliard. Their son
Theodoric (1045–1105) succeeded to the county of Montbéliard and to the county of
Bar-le-Duc. ==Issue==