Task: Translation
Input (English): On his return home, Safarov was met with a hero's welcome, given a pardon by president Ilham Aliyev, promoted to the rank of major, awarded eight-years of back-pay and given a house.
Output (Japanese): 帰国すると、サファロフは英雄のように歓迎され、イルハム・アリエフ大統領の許しを得て、少佐に昇進し、8年間の未払い分の給与を受け取り、家を与えられた。