 It was acquired by the Osório Cabral de Castro family in 1730, by whose order the palace was built.In 1879 a large part of the palace was lost during a fire.It was rebuilt in the late nineteenth century by Miguel Osório Cabral de Castro, in a style different from that of the original.