How could enslaved people gain their freedom in Roman society?

They could win fights.
They could work hard.
They could join the army.
They could pay slaveholders.