Maryland Attorney General Douglas F. Gansler. (Photo by Rebecca D'Angelo For the Washington Post)

In Maryland’s Democratic primary for governor, Attorney General Douglas F. Gansler doesn’t have the support of the chief executive he is trying to succeed. But Gansler has another governor in his corner — the one from Montana — and he is scheduled to appear Tuesday night at a major fundraiser.

Montana Gov. Steve Bullock (D) is billed as the “special guest” at an annual event that Gansler is holding in Bethesda that has traditionally yielded the largest outpouring of campaign cash that Gansler gets all year.

Tuesday’s event comes as Gansler and his Democratic rivals scramble to raise money before a Jan. 8 reporting deadline that will provide the first public accounting of the financial strength of the gubernatorial hopefuls since a year before.

Gansler, who’s served as attorney general for seven years, is trying to follow a path blazed by Bullock in his state. He served as Montana’s attorney general prior to his narrow election as governor last year.

An aide said Gansler and Bullock became well-acquainted during their involvement together in the National Association of Attorneys General and the Democratic Attorneys General Association.

Gansler’s fundraiser on Tuesday is being held at a private residence. The campaign is asking for minimum donations of $150.

Maryland’s current governor, Martin O’Malley (D), is backing Lt. Gov. Anthony G. Brown (D) in the June 2014 Democratic primary — as are many other members of the state’s Democratic establishment. The race also includes Del. Heather R. Mizeur (D-Montgomery).