After the farmer harvested the corn,he sold it as ensilage

Is "after" used as a preposition or an adverb in the sentence?

Report as