Analyze the given sentence and determine whether it is grammatically correct or not.
He had to had renewed his license.
The given sentence is not grammatically correct. The correct sentence would be "He had to renew his license."
Complete the following task based on the instruction and optional input provided.### Instruction:
Analyze the given sentence and determine whether it is grammatically correct or not.

### Input:
He had to had renewed his license.

### Output:
The given sentence is not grammatically correct. The correct sentence would be "He had to renew his license."