I was surprised when I heard him talk so. Here 'when I heard him talk so' is?

I was surprised when I heard him talk so. Here 'when I heard him talk so' is?

Explanation

"When I heard him talk so" gives more information about the time of the action "was surprised," which is a function of an adverb clause.

It begins with the subordinating conjunction "when" and contains a subject ("I") and a verb ("heard"), forming a dependent clause.