Maryland wine magnate ­David Trone, members of his family and his wine company have donated $39,000 to the 2018 gubernatorial campaign of Prince George’s County executive Rushern L. Baker III (D), according to filings with the State Board of Elections.

Trone, who is running as a Democrat in the crowded race for the state’s 6th Congressional District seat, has used his fortune to support many Democratic campaigns, including his own. In 2016, he spent $13.4 million on a failed bid to win the Democratic primary for the 8th District, which Rep. Jamie B. Raskin (D-Md.) ultimately won. He also contributed nearly $411,000 to Hillary Clinton’s 2016 presidential campaign and $272,000 to the 2018 Democratic Senatorial and Congressional Campaign committees.

Among Maryland’s 2018 candidates for governor, only Baker received contributions from the Trone family and business.

Filings show that Trone and three of his family members each donated $6,000 — the maximum allowed under state law — to Baker’s campaign in October and November of 2017. Three other family members contributed a combined $9,000 to Baker’s campaign in November 2017. Contributing family members included Trone’s wife, three daughters and his sister-in law.

Retail Services and Systems, Trone’s company, made a donation of about $6,000 in January.

Trone also announced that he was backing Baker for governor in December. Baker pledged his support to Trone on Monday.

Alex Koren, Trone’s campaign spokesman, said there was no connection between the timing of Trone’s donation and Baker’s endorsement.

He added that the relationship between Baker and Trone dates back several years and is based in large part on their shared experience helping loved ones deal with Alzheimer’s disease. Baker’s wife has the condition, as did Trone’s father.

Baker campaign spokeswoman Madeleine Russak said Baker’s endorsement of Trone is based on the county executive’s “personal commitment to support a candidate who shares his passion for finding a cure for Alzheimer’s.”

The other Democratic candidates for the 6th District are three-time contestant Andrew Duck, physician Nadia Hashimi, aerospace executive Christopher Hearsey, state Sen. Roger Manno (Montgomery) and state Del. ­Aruna Miller (Montgomery).

Neither Duck, Hashimi nor Manno donated to Maryland gubernatorial candidates in 2017, but Miller and Hearsey did. Miller contributed $500 to state Sen. Richard S. Madaleno Jr. (D-Montgomery), and Hearsey gave $150 to tech entrepreneur Alec Ross.

The Republican candidates include national security consultant Amie Hoeber, Kurt Elsasser, Lisa Lloyd and Bradley Rohrs. Hoeber donated $500 to Gov. Larry Hogan (R) in 2017. Elsasser, Lloyd and Rohrs have not filed campaign-finance reports with the board of elections.

Fenit Nirappil contributed to this report.

Correction: An earlier version of this story incorrectly said that David Trone competed in the 2016 Democratic primary that John Delaney ultimately won. The 8th District race was ultimately won by Rep. Jamie B. Raskin.