Ответ:

When I came to my friend's place, he was watching TV.