To create a powerful passenger locomotive that could also haul a heavy express train at up to 90 km/h if needed, the Bavarian State Railway ordered a scaled-down version of the S 3/5 from Maffei. The result was called P 3/5 and later renamed to P 3/5 N when the superheated P 3/5 H was introduced. Compared to the S 3/5 it had a smaller boiler and smaller drivers, but four compound cylinders of the same size. They could haul a 350 tonne train at 80 km/h on the flat or a train of the same weight at 45 km/h on a one percent incline.
Between 1905 and 1908, 36 were built for Bavaria. After World War I, six had been destroyed and 17 had to be given away as reparations. The remaining 13 came to the Reichsbahn in the twenties and became class 380. After the P 3/5 H had been introduced in 1921, also all P 3/5 N were also superheated in the following years. They were retired between 1932 and 1938.
Twelve identical locomotives could be exported to Bulgaria. The BDŽ called them class 08 and used them for important trains, among them was also the Simplon Orient Express. The CFO, being the company that operated the last part of the Orient Express from Bulgaria to Istanbul, bought three more and designated them series IX. When they came to the Turkish State Railway in 1937, they were numbered 35.504 to 35.506.