 Prior to this he served as Chief of Police of Parwan province and as First Secretary to Afghan Embassy in Tehran.He also joined the mujahideen during the Soviet–Afghan War, fighting against the Afghan government led by Mohammad Najibullah.Osmani was born in 1964 in Khuwaja Sayaran village, Parwan Province, Afghanistan.