When I was reading a book, he came. It is a -

Answer: 
Complex sentence
When I was reading a book, he came. It is a -