According to Marxist–Leninists, the state is a tool in the hands of the ruling class , which in a socialist society is the working class, so a socialist state is, according to Leninists, a state of the working class .