Union Home Minister Amit Shah on Friday said anti-social elements earlier indulged in violence in Gujarat as the Congress supported them, but after the perpetrators were "taught a lesson" in 2002, they stopped such activities and the BJP established "permanent peace" in the state.