She was sentenced at the time to 99 lashes .