Oil, gas and mining industry groups were far and away the most active lobbyists in Ottawa over the past year, according to an analysis from Macleans.

The Canadian Association of Petroleum Producers (CAPP), the country’s principal lobby group for oil and gas, made 58 lobbying efforts with the federal government over the past 12 months, the most of any group. In second place is the Mining Association of Canada, with 48 lobbying efforts.

The numbers are based on the federal lobbyist registry, which tracks communications between lobbyists and federal government departments, but offers no detail on how a lobbying effort was received by government officials.

The banking industry has also been prominent in its lobby efforts. The Canadian Bankers Association lobbied the Department of Finance 42 times in the past year, and Royal Bank of Canada alone made 27 efforts.

Check out the Macleans infographic here.

Story continues below

Loading Slideshow...
  • Cenovus - 18 lobby efforts

    Number of lobbying efforts with the federal government, as calculated by <a href="http://www2.macleans.ca/2013/12/05/the-top-lobby-groups-in-ottawa/" target="_blank">Macleans</a>. Brian Ferguson, president & CEO of Cenovus Energy, during the company's annual meeting in Calgary, Alberta on Wednesday, April 24, 2013.

  • Canadian Federation of Independent Business -- 19 lobby efforts

    *Number of lobbying efforts at the Department of Finance. Prime Minister Stephen Harper holds a report on red tape as he talks with Catherine Swift, President and CEO of the Canadian Federationof Independent Business, at his office in Ottawa Wednesday January 18, 2012.

  • Franklin Templeton -- 21 lobbying efforts

    *Number of lobbying efforts at the Department of Finance.

  • Canadian Fuels Association -- 22 lobbying efforts

    Number of lobbying efforts with the federal government, as calculated by <a href="http://www2.macleans.ca/2013/12/05/the-top-lobby-groups-in-ottawa/" target="_blank">Macleans</a>.

  • Suncor -- 22 lobbying efforts

    Number of lobbying efforts with the federal government, as calculated by <a href="http://www2.macleans.ca/2013/12/05/the-top-lobby-groups-in-ottawa/" target="_blank">Macleans</a>.

  • Federation of Canadian Municipalities -- 25 lobbying efforts

    *Number of lobbying efforts at the Department of Finance. Prime Minister Stephen Harper delivers a speech at the Federation of Canadian Municipalities' 73rd annual conference in Toronto on Friday, May 28, 2010.

  • Royal Bank of Canada - 27 lobbying efforts

    *Number of lobbying efforts at the Department of Finance.

  • Canadian Bankers Association -- 42 lobbying efforts

    Number of lobbying efforts with the federal government, as calculated by <a href="http://www2.macleans.ca/2013/12/05/the-top-lobby-groups-in-ottawa/" target="_blank">Macleans</a>. Terry Campbell, president of the Canadian Bankers Association.

  • Mining Association of Canada -- 48 lobbying efforts

    Number of lobbying efforts with the federal government, as calculated by <a href="http://www2.macleans.ca/2013/12/05/the-top-lobby-groups-in-ottawa/" target="_blank">Macleans</a>. The Britannia copper mine in Britannia, B.C. Friday, June 28, 2013.

  • Canadian Association of Petroleum Producers -- 58 lobbying efforts

    Number of lobbying efforts with the federal government, as calculated by <a href="http://www2.macleans.ca/2013/12/05/the-top-lobby-groups-in-ottawa/" target="_blank">Macleans</a>. Dave Collyer, President of the Canadian Association of Petroleum Producers, at CAPP's offices in Calgary, Alberta. <em>NOTE: An earlier version of this slideshow identified Pierre Alvarez as head of CAPP. Alvarez left that position in 2008.</em>

Among groups that lobbied the Prime Minister’s Office directly, the Mining Association of Canada came first, with 11 efforts, according to Macleans.

The Federation of Canadian Municipalities and Keystone XL pipeline builder TransCanada tied for second, with 10 lobby efforts each. The Small Guys Tobacco Group came in fourth, with nine lobbying efforts.

A report from the left-leaning Polaris Institute last year said oil and gas interests outstripped all others when it came to lobbying in Canada in recent years. The analysis of lobby registry entries found more than 2,700 meetings between the industry and government officials — a fact the Institute used to argue Canada is becoming a “petro state.”

Earlier on HuffPost: