it is said that a cow used to go to a particular place to graze in the outskirts of unao. the cow every day pours her milk at that particular place. the cow belonged to a person of the "kachhi", (the people of this caste generally used to grow vegetables). the owner of cow was not aware of this incident. once a person of lodhi caste saw that the cow is pouring her milk on the earth. the people of this cast have the occupation of assassinating cows. he immediately grabbed the opportunity and assassinated the cow. on the following night, the sun deity came in the dreams of the king of datia and told the king to dig him out from the location, where the cow used to pour her milk. next morning, king called his boys and dug out the place and found a statue of the sun. he built a temple in unao and established the statue on a brick platform, and as said by the sun, the owner of that cow has been assigned the priest. since then only people belonging to "kachhi" caste can only sit at the brick platform and offer garlands, prasadas to the deity. elsewhere in india, only a person belonging to brahmin caste can offer worship. the pilgrims and pandas(people belong to brahmin caste)also take part in the worship of the deity but the main priest is said to be "kachhi" caste people.