Dalits were stopped from entering the temple