Identify the main clause in the sentence below. Then decide if the subordinate clause is used as noun, adjective, or adverb.
The clams, which he ate, were still fresh.