Analyze the sentence and provide the correct grammatical tense.
I had visited Mexico last year.
The correct grammatical tense of the sentence "I had visited Mexico last year." is the past perfect tense.
Complete the following task based on the instruction and optional input provided.### Instruction:
Analyze the sentence and provide the correct grammatical tense.

### Input:
I had visited Mexico last year.

### Output:
The correct grammatical tense of the sentence "I had visited Mexico last year." is the past perfect tense.