though yangon was the country 's capital , mandalay , a city of more than a million people , was the last royal capital of burma , the capital of the mandalay division , and upper myanmar 's main commercial city .