She was his illegitimate child and was left a dowry that Araminta never gave her. It’s actually Posy who reveals that Sophie is entitled to the dowry because she found the Earl’s will. It all unfolds after Araminta realizes that Sophie is working for Violet and has her arrested for stealing her shoe clips.