Complex sentence: After completing her trials in January 1866, the ship was laid up at Norfolk until 1871 when she was placed in service at the Norfolk Navy Yard.
Split into simpler sentences: After completing her trials in January 1866, the ship was laid up at Norfolk. In 1871 she was placed in service at the Norfolk Navy Yard.