Upon capturing it, he declared himself emperor of the Daxi Dynasty (大西王朝)