What was Ecuador named after?

Its a foreign name of a line. The word for "equator" is Ecuador, and the equator runs through the country.