An account earned interest of 5% per year. The beginning balance was $250. The equation t=log1.05E250 represents the situation, where t is the time in years and E is the ending balance.

If the ending balance was $289.41, how many years was the account open? Round your answer to the nearest year.