Why did they name it Ecuador?

Ecuador means equator in Spanish. The equator pass right through the middle of the country.