Create a complex sentence using the provided simple sentence and coordinating conjunction.
He was tired. But
He was tired, but he still managed to finish all of his work before going to bed.
Complete the following task based on the instruction and optional input provided.### Instruction:
Create a complex sentence using the provided simple sentence and coordinating conjunction.

### Input:
He was tired. But

### Output:
He was tired, but he still managed to finish all of his work before going to bed.