According to the legends and stories it is believed that the Brijeshwari temple was built by Pandavas at the time of Mahabharata.