He modernized his army with French help and established an arms factory at Dindigul (TN).