Donald Trump waves to supporters after arriving in Cleveland on the third day of the Republican National Convention on Wednesday. (DOMINICK REUTER/AFP/Getty Images)

Donald Trump had more money in his campaign coffers when July began than he has had at any point yet, starting the month with $20 million after he forgave nearly $50 million worth of loans he made to to finance his presidential bid, according to a new report filed Wednesday night with the Federal Election Commission.

Trump's campaign pulled in $26 million in June after beginning to raise funds in earnest for the first time, including $2.2 million it brought in through a joint fundraising committee with the Republican National Committee. Trump personally contributed $3.8 million and forgave another $45.7 million he had previously loaned the committee, the filing shows.

Together with the RNC, Trump pulled in $52 million in June — his biggest number yet, but still less than the $68.5 million that Democratic contender Hillary Clinton and the Democratic Party collected in June, which included $40.5 million she raised directly for her campaign.

One reason for his large cash-on-hand figure: Trump spent just $7.8 million for the month, a remarkably small amount for a candidate ramping up for a general election. More than $1.5 million went to Giles-Parscale, a San Antonio-based Web-design firm that began working for Trump's companies in 2011. The firm is now serving as the campaign's main digital consultant.

Anu Narayanswamy contributed to this report.