UN Secretary General Kofi Annan has named Pakistan's ambassador to Washington as the new head of the UN mission in Iraq.
Mr Qazi has served as Pakistan's ambassador in India and China
Veteran diplomat Ashraf Jehangir Qazi has represented his country in India, China, Russia, East Germany and Syria.
The previous UN envoy, Sergio Vieira de Mello, died when a bomb exploded at UN headquarters in Baghdad in August 2003.
The position has been empty since and Mr Annan has said he had trouble finding someone to accept the role.
Many candidates had initially accepted the challenge, only to turn down the position later when their families disagreed.
All international staff were ordered to leave after a second bomb at UN headquarters in October 2003.
Mr Annan has said he expects the new envoy to be based in the Iraqi capital.
The new envoy will have a lead role in organising elections and helping to draft a new constitution.
He will also help co-ordinate humanitarian and reconstruction efforts.