Rewrite the sentence in reported speech.
He said, "I want to go for a walk."
He said that he wanted to go for a walk.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the sentence in reported speech.

### Input:
He said, "I want to go for a walk."

### Output:
He said that he wanted to go for a walk.