Mary texted several messages to John. There was no reply from hi

Mary texted several messages to John. There was no reply from him. She decided to make a phone call. (compound-complex sentence)
【正确答案】:Mary texted several messages to John, and when there was no reply from him, she decided to make a phone call.