The tense of the given sentence "I had written a letter to friend" is Past Perfect tense.
### Instruction:
Identify the tense of the given sentence: "I had written a letter to my friend."

### Response:
