However, Gurkhas could not capture Kangra fort which came under Maharaja Ranjeet Singh in 1809