UNITED NEWS INTERNATIONAL (UNI) — Former cyclist Lance Armstrong has agreed to pay the U.S. government $5 million to settle a civil fraud lawsuit against him.

The suit was originally filed by former cyclist Floyd Landis, who was riding with Armstrong when he tested positive for doping.

The U.S. government later joined in the lawsuit; claiming Armstrong defrauded his publicly funded sponsor, the U.S. Postal Service Team, by using performance-enhancing drugs while riding for them.

Armstrong’s attorney told Reuters on April 19 he thinks the Postal Service realized it could not prove any damages, so a settlement was made.

The $100 million case, was scheduled to go to court in the upcoming weeks.

Armstrong won the Tour de France a record seven times, six of them while riding for the postal service team. He was, however, stripped of his titles in 2012 after testing positive and admitted to the doping scandal a year later.