Complex sentence: Yaqub Ali Khan's connections can be traced to Nawab Mirza Ghalib who was appointed teacher of Nawab of Rampur in 1857, who travelled to Rampur twice, in 1860 and 1865.
Split into simpler sentences: Yaqub Ali Khan's roots can be traced to Nawab Mirza Ghalib who was appointed teacher of Nawab of Rampur in 1857. He travelled to Rampur twice, in 1860 and 1865.