He was the second Qajar king of Persia and reigned from 17 June 1797 until his death on 23 October 1834.