The Treaty of Amritsar marked the beginning of Dogra rule in Kashmir , which was to end in 1948 after the rebellion of the Muslim tribal militia . The Treaty of Amritsar marked the beginning of Dogra rule in Kashmir , which was to end in 1948 after an attack by the Pakistani army which led to Indo-Pakistani War of 1947 .