Where was the ming capital