In 133 BC king Attalus III of Pergamum died without heirs. The dynasty had been loyal to Rome through all the shifting policies of the last seventy years. And Attalus, dying, bequeathed his kingdom to the Roman people, if only to solve the problem of succession.
His only demand was that Pergamum and other Greek cities of his kingdom should not have to pay tribute to Rome. The senate accepted the condition joyfully, knowing that the kingdom of Pergamum was indeed extraordinarily prosperous.
Inevitably a pretender appeared, challenging Rome's entitlement to the throne of Pergamum, giving some trouble for a year or two, but the Roman claim to Pergamum was established without any serious difficulty.