Who was the ruler of Kashmir at the time of partition?

Who was the ruler of Kashmir at the time of partition?

تقسیم کے وقت کشمیر کا حکمران کون تھا؟
Explanation

Maharaja Sir Hari Singh was the last ruling Maharaja of the princely state of Jammu and Kashmir. 

In 1947 Hari Singh, who had ascended the throne of Kashmir in 1925

Reign: 23 September 1925 — 17 November 1952

Predecessor: Pratap Singh

Born: September 23, 1895, Jammu

Died: April 26, 1961, Mumbai, India


***

The first Muslim ruler of Kashmir was Shah Mir