Question: Who was the spouse of the first president identified as a member of the party which dominated South Carolina's state legislature in 1895?

<P0-S0> Fifteen Democrats have served as President under 16 administrations: the first was seventh President Andrew Jackson, who served from 1829 to 1837; Grover Cleveland served two nonconsecutive terms from 1885 to 1889 and 1893 to 1897; and is thus counted twice (as the 22nd and 24th President). <P0-S1> The most recent was the 44th President Barack Obama, who held the office from 2009 to 2017. <SEP> <P1-S0> the compromise of 1877 was a purported informal, unwritten deal that settled the intensely disputed 1876 u.s. presidential election. <P1-S1> it resulted in the united states federal government pulling the last troops out of the south, and formally ended the reconstruction era. <P1-S2> through the compromise, republican rutherford b. hayes was awarded the white house over democrat samuel j. tilden on the understanding that hayes would remove the federal troops whose support was essential for the survival of republican state governments in south carolina, florida and louisiana. <P1-S3> the compromise involved democrats who controlled the house of representatives allowing the decision of the electoral commission to take effect. <P1-S4> the outgoing president, republican ulysses s. grant, removed the soldiers from florida. <P1-S5> as president, hayes removed the remaining troops from south carolina and louisiana. <P1-S6> as soon as the troops left, many white republicans also left, and the ``redeemer ''democrats took control. <P1-S7> they already dominated most other state governments in the south. <P1-S8> what was exactly agreed is somewhat contested as the documentation is insufficient. <SEP> <P2-S0> Rachel Jackson ("née" Donelson; June 15, 1767 – December 22, 1828) was the wife of Andrew Jackson, the 7th President of the United States. <P2-S1> She lived with him at their home at The Hermitage, where she died just days after his election and before his inauguration in 1829—therefore she never served as First Lady, a role assumed by her niece, Emily Donelson. <SEP> <P3-S0> in 2007, the united states mint began releasing a set of half-ounce $10 gold coins under the first spouse program with engravings of portraits of the first ladies on the obverse. <P3-S1> when a president served without a spouse, a gold coin was issued that bears an obverse image emblematic of liberty as depicted on a circulating coin of that era and a reverse image emblematic of themes of that president's life. <P3-S2> this is true for the coins for thomas jefferson, andrew jackson, martin van buren, and james buchanan's first ladies, but not the coin for chester a. arthur's first lady, which instead depicts suffragette alice paul. <SEP> <P4-S0> Investment in the city continued. <P4-S1> The William Enston Home, a planned community for the city's aged and infirm, was built in 1889. <P4-S2> An elaborate public building, the United States Post Office and Courthouse, was completed by the federal government in 1896 in the heart of the city. <P4-S3> The Democrat-dominated state legislature passed a new constitution in 1895 that disfranchised blacks, effectively excluding them entirely from the political process, a second-class status that was maintained for more than six decades in a state that was majority black until about 1930.