perasto was at its peak in the 18th century under the republic of venice, when it had as many as four active shipyards, a fleet of around one hundred ships, and 1,643 residents. at that time the most beautiful buildings arose in this fortified town. many ornate baroque palaces and magnificent dwelling-houses decorated the town of perast (perasto), full of typical venetian architecture.