 It was in the service of the emperor that he undertook the conquest of Kashmir in 1541.Mirza Haidar was more or less able to retain his position as ruler of Kashmir for ten years, during which he wrote the "Tarikh-i Rashidi".His reign in Kashmir ended in 1551 when he was killed while fighting against a revolt.