Eighteen South Australian Railways K class (broad-gauge) locomotives were built by Beyer, Peacock and Company for the South Australian Railways (SAR) between 1878 and 1884. Despite having a fundamental design flaw that affected their original role as light-line passenger locomotives, they eventually performed shunting duties exclusively. They operated for six decades.