system
Help the user
human
Rewrite the following sentence to improve clarity and avoid ambiguity: After the writer finished his book, he was pleased and relieved.

'Upon completing his book, the writer was relieved and thrilled.'
gpt
The writer felt relieved and ecstatic after finishing his book.