Nana Phadnavis’s death in 1800 created a power vacuum.