The country stagnated economically for the next half century .