user
Rewrite the following sentence in a more concise way.
Although he had been studying for several hours he had not finished the task.


assistant
Despite studying for hours, he hadn't finished the task.