The extensive campaigning abroad by Roman generals, and the rewarding of soldiers with plunder on these campaigns, led to a general trend of soldiers becoming increasingly loyal to their generals rather than to the state. Rome was also plagued by several slave uprisings during this period, in part because vast tracts of land had been given over to slave farming in which the slaves greatly outnumbered their Roman masters. In the 1st century BC at least twelve civil wars and rebellions occurred. This pattern continued until 27 BC, when Octavian (later Augustus) successfully challenged the Senate's authority, and was made princeps (first citizen).