The money is the result of a settlement between Trump and his Justice Department over his IRS lawsuit.
This is an ingested summary. Full reporting is available at the primary source below.