Gaining commission in the Royal Indian Navy, he participated in World War II on behalf of Great Britain before joining the Pakistan Navy in 1947 as one of the senior staff officers. In 1969, he was appointed the Flag Officer Commanding of the Eastern Naval Command in East Pakistan during the civil war there, followed by the foreign intervention by India in 1971. After the war, he was taken as a war prisoner along with Lieutenant-General A.A.K Niazi, the commander of Pakistan Army's Eastern Command after conceding the surrender of the Pakistan Armed Forces personnel to the Indian Army.