The lawyer was waiting for him.

Literal

Lawyer [topic-は] him [obj-を] was-waiting.

待つ ('wait') takes its object with を — unlike 会う (which takes に), the thing waited for is a direct object in Japanese. The ~ていた form gives a past continuous 'was waiting.'