If a ruler died without direct heir, his state  lapsed  into British hands.
If a ruler died with no successor, the state was given to Britain.