Detlev Mehlis , the German prosecutor leading the United Nations investigation into the assassination of the former Lebanese prime minister Rafik Hariri last February , will leave his post this month , as planned , but is being asked to maintain an '' association '' with the inquiry , which is now expected to continue into next year , said Stephane Dujarric , a spokesman for Secretary General Kofi Annan .