BANGOR, Maine — Two Maine men have been released on personal recognizance bail after being charged last week in federal court with possession with the intent to distribute marijuana.

Gerald Rich Jr., 47, of Frankfort and Mark Wolosko, 46, of Kennebunkport were arrested Thursday after allegedly having 475 pounds of marijuana transported from Phoenix, Ariz., to Maine in a 31-foot 2004 Coachman Freedom recreational vehicle owned by Rich. They were released the same day.

The duo’s operation came to light on June 28 when a man, identified only by the initials C.S., was stopped for a traffic violation on Interstate 44 in southwest Missouri, according to the affidavit filed Thursday in U.S. District Court in Bangor.

C.S. allegedly told agents from the U.S. Drug Enforcement Administration that Rich had flown June 10 from Portland, Maine, to Phoenix, Ariz. Rich gave C.S. $1,500 in cash to pay expenses on the return trip to Maine, according to the affidavit.

Rich and Wolosko allegedly met the RV on June 14 in a Biddeford parking lot. Rich drove off in the RV and Wolosko drove C.S. home, according to court documents. Later that day, Rich allegedly paid C.S. $9,000 for making the trip.

C.S. again flew to Phoenix on June 26 and was stopped two days later in Missouri on his way to Maine, according to the affidavit. After he agreed to cooperate, two DEA agents joined C.S. for the remainder of the trip.

The RV arrived in Maine about 10 p.m. June 29, the affidavit said. C.S. met Wolosko, who was accompanied by a white female driving a car with a vanity plate that read “Wolosko,” in a Biddeford parking lot. C.S. got in the car and left with the woman while Wolosko drove the RV to 468 Loggin Road in Frankfort, according to the affidavit.

The two men were arrested in Frankfort during the early morning hours Thursday after 475 pounds of marijuana was found in the RV.

If convicted, each man faces a minimum of five years in federal prison and a maximum of 40 years and a fine of up to $2 million.