With the Uttar Pradesh assembly polls on his mind, BJP President Amit Shah today attacked the Samajwadi Party government over the atmosphere of violence in the state, citing recent Mathura clashes and migration of Hindus from a western UP town to target it.