ELLSWORTH, Maine (AP) - Maine officials say an 87-mile recreational trail system that has been in the works for almost 30 years has been completed.

The Downeast Sunrise Trail stretches from Pembroke to Ellsworth. The project began in 1987. An 85-mile stretch of trail from Pembroke to Hancock was completed in 2010.

The second phase of the trail extended it another two miles into Ellsworth. The Maine Department of Agriculture, Conservation and Forestry says that piece of the trail is now complete.

State agriculture commissioner Walt Whitcomb says the trail links to 800 miles of all-terrain vehicle and snowmobile trails.

A ceremony is planned at the High Street Trailhead in Ellsworth on Friday at 11 a.m.