How Bhopal became the capital