Q.
Any subject is able to emerge independent when it able to clearly demarcate its subject matter and the methodology that going to study those subject matters.
Saint saiman, August comte, Emile Durkheim clearly made that sociology is there to study social aspects in scientific ways. Emile Durkheim demarcated subject matter for sociology which is social fact.
Sociology is different from psychology because it does not focus much over individual motivations rather the sum of their products. sociology is also different from philosophy because in sociology they arrive at a conclusion through empirical study of obervable facts not just some random speculations
Hence, one can says that sociology is a science of its own kind.