After the Battle of Waterloo Allard drifted, going to Persia where he visited Abbas Mirza to propose his services. He was promised the rank of Colonel, but never actually received the troops corresponding to his function.
In 1820, Allard left for the Punjab, where in 1822 he entered the service of the Maharaja Ranjit Singh. He was commissioned to raise a corps of dragoons and lancers. On completion of this task, Allard was awarded the rank of general, and became the leader of the European officer corps in the Maharaja's service.
Another European who took service in the Punjab with Allard in 1822 was the Italian Jean-Baptiste Ventura. They were joined four years later by the Neapolitan Paolo Di Avitabile, and the Frenchman Claude August Court. A Spaniard, by the name of Oms, also served with them for a period.
Allard was a charming and gentle man, very different from some of the other European mercenaries in the Punjab. He made the effort to learn Persian, and is said to have composed poetry in his new language.
In June 1834, Allard returned to France on leave, going back to the Punjab 18 months later. He continued to serve the Maharaja until his death in 1839.