 The temple in its current shape is believed to have been built during the 17th century, while Fergusson believes the small vimana in the west corridor belongs to the 11th or 12th centuries.The temple is said to have been sanctioned for construction by King Kizhavan Sethupathi or Raghunatha Kilavan.The contribution of the Jaffna kings of the Sethupathy dynasty to the temple was considerable.