Detailed Instructions: In this task, you are given a sentence in English, and your task is to translate it into Persian.
Problem:When I remembered how far I had once been admitted to his confidence,
Solution:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
وقتی به یاد آوردم که زمانی در جلب اعتماد او تا چه حد پیش رفته بودم،