Hillary Clinton's speaking fees have been the subject of much political debate.

After she resigned as secretary of state, Clinton joined the speaking circuit, raking in millions for paid speeches at about $200,000 a pop.

An investigation from the Associated Press ties those fees to government influence. Of the nearly $22 million Clinton made in fees, most was from groups that had recently lobbied the government.

AP

What's more, the investigation revealed that many of the groups had federal contracts or lobbied the Clinton State Department. Some even had direct contact with Clinton or her top aides while she was secretary of state.

See all the fees the AP discovered in the graphic below:

AP