A 44-acre (18-hectare) saltwater farm in Maine where E.B. White penned “Charlotte’s Web” is up for sale for $3.7 million.

An oceanfront home where E.B. White lived when he penned "Charlotte's Web." on July, 13, 2017. The home where White lived until his death in 1985 dates to the late 1700s and includes a barn that was the setting for the beloved children's book featuring a pig named Wilbur and a spider named Charlotte. (Mark Fleming/Yankee Magazine via AP)

An oceanfront home where E.B. White lived when he penned "Charlotte's Web." on July, 13, 2017. The home where White lived until his death in 1985 dates to the late 1700s and includes a barn that was the setting for the beloved children's book featuring a pig named Wilbur and a spider named Charlotte. (Mark Fleming/Yankee Magazine via AP)

BROOKLIN, Maine — A 44-acre saltwater farm in Maine where E.B. White penned “Charlotte’s Web” is up for sale for $3.7 million.

The Brooklin home where White lived until his death in 1985 includes a barn that was the setting for the beloved children’s book featuring a pig named Wilbur and a spider named Charlotte.

The home dates to the late 1700s. White and his wife, Katharine, bought it in 1933.

Down East Properties listing agent Martha Dischinger says current owners Robert and Mary Gallant, of Anderson, South Carolina, are ready to sell after more than three decades of ownership.

She said Wednesday the property retains many historical touches and the owners maintained the gardens tended by Katharine White before her death.

E.B. White also wrote “Stuart Little,” another children’s book.