where she replaced the old coastal defense ship . She served briefly as the flagship of KAdm Alfred Breusing from September until December, when she was replaced in that role by . On 16 February 1905, ran aground in the Kieler Förde. She was pulled free two days later after enough coal and ammunition were thrown overboard to lighten the ship. She then steamed into Kiel and entered drydock, where her bottom was found to be slightly dented. A second accident occurred on 5 July, when the torpedo boat ran across s bow. The battleship could not turn in time and rammed the torpedo boat, damaging it severely. One of S 124s boiler rooms flooded and the rush of steam from the boilers badly burned three men. On 4 July 1906, was transferred to the Reserve Formation of the North Sea. She initially served as the flagship of the unit, but on 1 October she was replaced by . She was then decommissioned and her crew reduced to only a maintenance staff. Over the next eight years, she was reactivated only twice, from 2 August to 13 September in 1910 and from 31 July to 15 September the following year; both periods were during the annual autumn maneuvers. She served with III Squadron in both exercises, and was the flagship of the second command admiral for the squadron, KAdm Heinrich Sass. She returned to reserve status on 15 September, and a month later was docked in the in Kiel to maintain her for future service. World War I On 5 September 1914, shortly after the outbreak of World War I, was assigned to V Battle Squadron under the command of VAdm Max von Grapow. The squadron was initially used for coastal defense in the North Sea. From 19 to 26 September, and the rest of V Squadron went on a sortie into the eastern Baltic but encountered no Russian forces. The ships subsequently returned to the North Sea and resumed their guard duties. was briefly transferred to VI Battle Squadron from 16 January to 25 February 1915 to strengthen the defenses of the Jade Bight and the mouth of the Weser. On 5 March, she was moved to Kiel, where her crew was reduced. After a short period of rest, her crew was restored and she and were transferred to Libau. She served as the flagship of KAdm Alfred Begas,