HMS Trafalgar was one of two Trafalgar-class battleships commissioned in 1890 and 1891, the other being HMS Nile. The ship was designed as an improved version of existing battleships with greater displacement and a thicker armoured belt amidships. Trafalgar saw active service as a battleship from 1890 to 1897 and from 1909 to 1911 when she was sold. Between these two periods as a combatant, Trafalgar served as a guardship and as a drill ship.