What ruler came to power in 1389