Question: In what year was slavery eliminated in the state where Tito visited the employer of Sinha Basnayake?

<P0-S0> founded in the northern states in 1854 by anti-slavery activists, modernizers, ex whigs and ex free soilers, the republican party quickly became the principal opposition to the dominant democratic party and the briefly popular know nothing party. <P0-S1> the main cause was opposition to the kansas -- nebraska act, which repealed the missouri compromise by which slavery was kept out of kansas. <P0-S2> the northern republicans saw the expansion of slavery as a great evil. <P0-S3> the first public meeting of the general ``anti-nebraska ''movement where the name`` republican'' was suggested for a new anti-slavery party was held on march 20, 1854, in a schoolhouse in ripon, wisconsin. <P0-S4> the name was partly chosen to pay homage to thomas jefferson's republican party. <SEP> <P1-S0> # country de jure education / employment gap year notes school leaving age employment age barbados 16 16? <P1-S1> 1997 belize 14 0 canada 16 or 18 depending on province 16 2014 costa rica? <P1-S2> 15 cuba 16 0 dominica 16 12 - 4 2004? <P1-S3> dominican republic 18 21 2007? <P1-S4> grenada 14 0 2009 haiti? <P1-S5> 15 2002 jamaica 14 12 - 2 2003 mexico 15 0 2014 saint kitts and nevis 16 0 1997 saint vincent and the grenadines? <P1-S6> 14? <P1-S7> 2001 trinidad and tobago 12 0 united states 16 - 19 * 14 - 18 * the school leaving age varies from state to state with most having a leaving age of 16 or 17, but a handful having a leaving age of above that number. <P1-S8> students who complete a certain level of secondary education (``high school '') may take a standardized test and be graduated from compulsory education, the general equivalency degree. <P1-S9> gifted and talented students are also generally permitted by several states to accelerate their education so as to obtain a diploma prior to attaining the leaving age. <P1-S10> young people may seek employment at 14 in many states but, in practice, most employers seek someone slightly older. <P1-S11> however, it is common for those aged 14 (and even younger) to gain employment in agriculture. <P1-S12> * varies by state or territory <SEP> <P2-S0> Tito's visits to the United States avoided most of the Northeast due to large minorities of Yugoslav emigrants bitter about communism in Yugoslavia. <P2-S1> Security for the state visits was usually high to keep him away from protesters, who would frequently burn the Yugoslav flag. <P2-S2> During a visit to the United Nations in the late 1970s emigrants shouted "Tito murderer" outside his New York hotel, for which he protested to United States authorities. <SEP> <P3-S0> Son of the prominent lawyer Hema Henry Basnayake, QC; he was educated at the Royal College, Colombo and graduated with a first class in law from the University of Oxford. <P3-S1> After qualifying as a barrister he joined the UN as a Legal Officer in the International Trade Law Branch of the Office of Legal Affairs, eventually becoming its Director. <P3-S2> Appointed as a President's Counsel by the government of Sri Lanka, he has served in many committees of the UN. <SEP> <P4-S0> Under New York State's gradual abolition act of 1799, children of slave mothers were born to be eventually liberated but were held in indentured servitude until their mid-to-late twenties. <P4-S1> Together with slaves freed by their masters after the Revolutionary War and escaped slaves, a significant free-black population gradually developed in Manhattan. <P4-S2> Under such influential United States founders as Alexander Hamilton and John Jay, the New York Manumission Society worked for abolition and established the African Free School to educate black children. <P4-S3> It was not until 1827 that slavery was completely abolished in the state, and free blacks struggled afterward with discrimination. <P4-S4> New York interracial abolitionist activism continued; among its leaders were graduates of the African Free School. <P4-S5> The city's black population reached more than 16,000 in 1840.