What part of speech is harbor?

Harbor is a noun (a harbor) and a verb (to harbor).