How did these kingdoms grow and prosper