The conversation between human and AI assistant.
[|Human|] Identify the tense of the given sentence: "I had written a letter to my friend."
[|AI|] The tense of the given sentence "I had written a letter to friend" is Past Perfect tense.
[|Human|] 
Identify the tense of the given sentence: "I had written a letter to my friend."