Pro-China Nepalese Prime Minister K. P. Sharma Oli's resignation has paved the way for a pro-India leader to take charge of Nepalese state.
India is alleged to have played a role in bringing about the regime change in Nepal, but instability in Nepal will give China room to maneuver as it has its own groups and supporters there.
After Sharma Oli's resignation, Maoist leader Prachanda will become the head of state in alliance with the main opposition party Nepali Congress.
Although Maoist leader Prachanda has been known to be pro-Indian, he also has ties to China and it can be expected that Beijing will try to broaden their relationship with him in the future. The vast majority of citizens in Nepal favor China over India as they regard the former as a driver of the growth in their economy.