mughal empire,
The Mughals ruled Kashmir for 160 years. In contrast, they ruled modern-day Afghanistan for nearly 240 years...but only managed to hold on to the Deccan & South India for 20-30 years. Clearly this is not basis for defining what is and isn't "India."
then the sikh empire
Being the biased Indian that you are, you of course gloss over the 70 years under the Afghan Durrani Empire, and immediately jump to the 27 years under Sikh oppression.
and then the british / dogras .......
Which of course is the entire basis of India's claim over Kashmir...the fact that colonial authorities sold it to an Indian king. Of course it goes without saying that you and your ilk will ignore the preceding 1,300 years of Kashmiri independence.