A historic Quogue home, called Slumberside for the hammock hooks on its wraparound porch, is on the market for $2.85 million.

The house was built in 1894 for Alfred Thayer Mahan, a U.S. Navy admiral who authored “The Influence of Sea Power Upon History, 1660-1783,” which was published in 1890. The book provided strategies that were the basis for naval operations in World War II and during much of the 20th century, says listing agent Ashley Farrell of The Corcoran Group.

advertisement | advertise on newsday

According to a local historian, Mahan overextended himself after he and his wife purchased Slumberside, and he wrote more books because he needed to pay for the home, Farrell says. But Mahan loved the property, writing in a letter to his wife, while overseas, “Slumberside would become the place I have long wished, not too far from New York, and to which we could go every summer.”

PhotosPeek inside LI's most lavish homesPhotosPeek inside celebrities' LI homesPhotos26 LI ZIP codes on most expensive list

Since the sellers purchased the nearly 5,000-square-foot, nine-bedroom home in 2003, it has been modernized with a new roof, as well as new plumbing and heating systems. It features an updated kitchen and butler’s pantry and a second-floor master suite with twin bathrooms.

The one-acre property has a heated gunite pool, detached two-car garage with a legal three-room apartment above and a large shed.