sentences:  In January 1916, it was dissolved altogether and the ships were reduced to training ships except for "Mecklenburg", which was used as a prison ship.The ships served in those roles for the remainder of the war, which ended in 1918.In 1919, "Wittelsbach" and "Schwaben" were converted into depot ships for F-type minesweepers, since Germany was required by the Treaty of Versailles to clear the extensive minefields that had been laid in the North Sea during the war.