In 1939, Prince Aly Aga Khan joined the French Foreign Legion and served with its cavalry division in Egypt and the Middle East.
Prince Aly Khan was installed as the 1st Colonel of the Regiment of the newly raised 4 Cavalry Regiment (1 November 1956), Pakistani Army in a military ceremony during 1957 and he retained this honor until his death.