Ranchi is the capital of the Indian state of Jharkhand, and its population (2005) was around 846,454 .