His descendant, Attalus I, defeated the invading Galatians and proclaimed himself an independent king