Tipu Sultan planted the Tree of Liberty at Srirangapatna in the late 18th century, inspired by the French Revolution. He was an ally of the French and adopted their revolutionary symbolism, including planting this tree to represent liberty and democratic ideals.