sentences:  The Shah dynasty was outmaneuvered by another Chaubisi family, the "Rana dynasty" or "Kunwar family" of Kaski and Lamjung, in 1846 and reduced to figureheads until 1953.A parallel group of 22 small kingdoms, "Baise Rajya" (), existed to the west of the Gandaki Basin.These were also annexed by the Shah dynasty before 1799.