The rulers of Thanjavur Nayak kingdom built the Thanjavur Maratha palace in the 16th century. Thanks to the prisoners of war during that era that provided the much-needed manpower to construct the majestic piece of art and culture.