He became rich overnight. What part of speech is 'overnight'?

Answer: 
an adverb
He became rich overnight. What part of speech is 'overnight'?