sentences:  Under Paul I, 1st Prince Esterházy of Galántha the estate was converted into a baroque castle which remained the principal residence and center of administration of the family for over 300 years.The architectural history of the building involves a transition from an actual medieval castle, built for defense, to a palace meant for comfort and ostentatious display.The moats were removed in the early 19th century, and the architectural style was modified at various points to fit the taste of the times.