One of Maine’s most famous homes is for sale after the owners unsuccessfully sought permission for it to become a wedding venue.

‘The Wedding Cake House’ at 104 Summer St. in Kennebunk is a yellow, two-story home frosted with an ornate, Gothic-style white trim. It was built in 1825 by George Bourne, a fourth-generation shipbuilder, and is listed on the National Register of Historic Places.

It is popularly known as the most photographed home in Maine, and has inspired a number of books, articles and art pieces. Now, it is on the market for $2.7 million.