Please answer the following question: Facts: - profession: lawyer - term: november , 1855 november 23 , 1840 & ndash ; december 22 17 , 1841 , 1852 & ndash ; december 19 - successor: john campbell - party: democratic - death date: 24 june 1856 - predecessor: sampson h. butler - office: member barnwell district of the south carolina house of representatives from - district: 4th - term end: march 3 , 1843 - birth date: 18 july 1810 - state: south carolina - name: samuel wilds trotti - term start: december 17 , 1842 - death place: buckhead , fairfield district , south carolina - birth place: barnwell , south carolina - alma mater: south carolina college Based on these bullet points, write a short biography describing the life of samuel w. trotti .
Answer:
samuel wilds trotti -lrb- july 18 , 1810 -- june 24 , 1856 -rrb- was a u.s. representative from south carolina .born in barnwell , south carolina , trotti attended the common schools .he graduated from south carolina college -lrb- now university of south carolina -rrb- at columbia in 1832 .he studied law and was admitted to the bar .he served in the seminole war .trotti served as member of the state house of representatives from 1840 to 1841 from 1852 to 1855 .he was elected as a democrat to the twenty-seventh congress to fill the vacancy caused by the resignation of sampson h. butler and served from december 17 , 1842 , to march 3 , 1843 .he resumed the practice of law .he died in buckhead , fairfield district -lrb- now county -rrb- , south carolina , june 24 , 1856 .