In this Aug. 3, 2017, file photo, a woman walks out of the Hotel Nipton in Nipton, Calif. A Phoenix-based marijuana technology company bought the town of Nipton for $5 million with ambitious plans to turn its dusty, nearly deserted 80 acres into a pot-friendly resort destination just an hour outside Las Vegas. But the company announced earlier in March 2018 it has sold Nipton to Delta International Oil & Gas in a cash and stock deal worth about $7.7 million. (AP Photo/John Locher, File)

Remember that company developing a marijuana resort in California? They’re selling the town to an oil company.

American Green says the sale includes the provision that it continue with its project to transform the 80-acre town on the edge of the Mojave Desert into a cannabis-themed resort.

LOS ANGELES — Could plans to turn an old California ghost town into a marijuana mecca be going up in smoke?

Cannabis technology company American Green, which bought Nipton for $5 million last year, has sold it to another company for $7.7 million, acknowledging it struggled to raise the money needed to remake the old desert mining town into a pot paradise.

“Buying and building towns is very cash intensive. Up until now, the cost of attracting capital has been very expensive for our company,” Phoenix-based American Green said in a statement issued earlier this month.

That responsibility, the company added, now falls on the new owner, Delta International Oil & Gas, a company that’s previously focused on buying properties for exploratory drilling.

However, American Green says the sale includes the provision that it continue with its project to transform the 80-acre town on the edge of the Mojave Desert into a cannabis-themed resort.

Marijuana Town, Nipton, California
In this Aug. 3, 2017, file photo, Laura Cavaness sweeps out a lodge at the Hotel Nipton in Nipton, Calif. (AP Photo/John Locher, File)

After purchasing Nipton last year American Green unveiled ambitious plans that included remodeling its modest Old West-style hotel into a “buds and breakfast” inn and bottling and selling cannabis-infused beverages drawn from Nipton’s plentiful desert aquifer. There were also plans to attract cultivators and marijuana-theme boutique owners such as glassblowers.

Still other plans called for the company to bring back Nipton’s post office and bank and expand its solar farm to serve the entire town’s handful of residents, making Nipton green in more ways than one.

How much if any of that has happened couldn’t immediately be determined Monday. A clerk who answered the phone at the Nipton Trading Post said he was the only person there but too busy to talk and hung up. A publicist for American Green said she would reach out to Nipton’s project manager.

Once a booming mining town served by stagecoach and rail lines, Nipton was a ghost town when Gerald Freeman, a Los Angeles geologist who liked to look for gold in his spare time, discovered it in the 1950s. He and his wife, Roxanne Lang, bought it in 1985 and he spent the next 30 years restoring its hotel, trading post and its handful of houses 10 miles off the interstate that connects the Southern California metropolitan area to Las Vegas.

Marijuana Town, Nipton, California
In this Aug. 3, 2017, file photo, a woman leaves the Nipton Trading Post in Nipton, Calif. (AP Photo/John Locher, File)

The couple put it up for sale after Freeman’s health began to fail and Lang sold it last year after he died.

Under terms of this month’s sale, Delta International assumes $3.7 million of American Green’s debt and receives $4 million in preferred Delta stock. American Green said that should make it easier for Delta to raise the capital needed to renovate the town.

Meanwhile, American Green says it signed a contract to continue to develop the town for the next five to 10 years.