The ships were armed with a main battery of four 12 inches , the standard for pre-dreadnought battleships of the time, but to secure that heavy primary armament, significant compromises in speed, secondary batteries, and armor protection were necessary to keep the ship within the prescribed displacement limit.