he remained there for three years and learned the first letters