It was named by the Palatine Maximilian Railway Company, who had built the line, in honour of the reigning King of Bavaria at that time, King Maximilian II.
Built as a transit route, the line acted as part of a long-distance, north-south, trunk route for the first few decades.