Tanjore was conquered by the Marathas in 1674 under Venkaji, the half- brother of Shivaji the Great; his successors ruled as rajas of Tanjore. The British first came into contact with Tanjore by their expedition in 1749 with a view to the restoration of a deposed raja. In this they failed, and a subsequent expedition was bought off. The Maratha rajas held Tanjore until 1799. A Protestant mission at Tanjore was founded in 1778 by the Reverend Christian Friedrich Schwarz. His church dates from 1779.
In October of that year the district was ceded to the British East India Company in absolute sovereignty by Raja Serfoji II, a pupil of the missionary Schwartz. The raja retained only the capital and a small tract of country round. He died in 1833 and was succeeded by his son Sivaji, on whose death in 1855 without an heir the house became extinct.