For example

She was told to pay a large amount of money in restitution to compensate for what she had done.