Marian reforms
By the end of the 2nd century BC, the Republican army was experiencing a severe manpower shortage. Soldiers also were having to serve for longer periods, and fight wars further away from their homes. For more information see Marian reforms