sentences:  On entering service, the ships were assigned to I Squadron, of which "Kaiser Friedrich III" served as the flagship, while "Kaiser Wilhelm II" served as the flagship for the overall fleet commander.The ships conducted routine training exercises and cruises in the early 1900s and "Kaiser Friedrich III" was badly damaged in a grounding accident while steaming in the Baltic Sea in 1901.As newer battleships entered service later in the decade, the ships of the class were moved to II Squadron in 1905 and all of the ships except "Kaiser Karl der Grosse" were rebuilt between 1907 and 1910.