She became an orphan . She requested that her uncle , James Buchanan , be made her guardian . An orphan after the death of her father when she was 11 years old ( her mother had died two years earlier ) , she requested that her favorite uncle , James Buchanan , be appointed her legal guardian .