It was a tributary state for decades by 1490, it's economic position as an African trade hub was supplemented by Portugal, there was incessant infighting ,and it just didn't have the numbers to keep going for long. The only real thing going for it then was its defensive mountains. It needs to be earlier.