The Martha’s Vineyard Preservation Trust has found new tenants for the Nathan Mayhew Schoolhouse, a historic landmark on upper Main street in Vineyard Haven.

Come February the Martha’s Vineyard Museum will move into the space left vacant last month by the former leaseholder, Sail Martha’s Vineyard.

The museum, which plans to move its main operations from Edgartown to the historic Vineyard Haven marine hospital in about three years, will use the two-room schoolhouse as a satellite education center.

“It’s a wonderful way for us to collaborate with the Preservation Trust and at the same time to be able to transition and test the Vineyard Haven community and find out what it might be like when we are there on a more permanent basis,” executive director David Nathans told the Gazette Monday.

The museum will call the facility the Morgan Learning Center after the late John Morgan, a former museum board member. Mr. Morgan’s wife Patricia Morgan awarded the museum a $45,000 annual grant to cover the three-year lease and educational programming.

The space will be used for year-round and seasonal educational programming, as well as occasional events and exhibitions.

“It’s a great, open space,” Mr. Nathans said.

The 1,444-square-foot white building was built in 1828 and served as the Vineyard’s first schoolhouse.

Sail Martha’s Vineyard, a marine education nonprofit, had headquarters there for nearly 20 years. The group relocated to the Tisbury Marketplace development off Beach Road in December.

Over time, Sail Martha’s Vineyard added year-round programming for adults and children and outgrew the space, said Christopher Scott, executive director of the Martha’s Vineyard Preservation Trust.

The Preservation Trust will perform minor renovations on the building before the museum moves in, painting the interior and exterior and installing electric baseboard heat.

The Trust acquired the building in 1986 from the Daughters of the American Revolution, a volunteer service organization that had operated the space as a nautical museum since the beginning of the 20th century.

Many know the building by the iconic flagpole erected in front which commemorates an act of patriotism during the Revolutionary War. A plaque attached to the pole names three Holmes Hole women who got dynamite from the armory and blew up the town flagpole to prevent the British from using it as a spar for their warship.

Before the DAR, the building was home to a carpentry shop and a funeral home, according to James Norton’s Walking in Vineyard Haven.

But when it was first built it served as a schoolhouse, and Nathan Mayhew was the first schoolmaster.

The museum’s plans are in line with that legacy, which is the Preservation Trust’s goal for its properties, Mr. Scott said.

“What I find in the business of preservation,” he said, “is that if you can find an adaptive reuse that is close to an original use for a building, it tends to be a very good fit.”