In 2014, the Dachau–Altomünster railway line, which had previously been used by line A, was electrified, which had been the only unelectrified stretch of the S-Bahn. Furthermore, a two-track meeting section between Bachern and Schwabhausen and an additional crossing station in Erdweg were built. The planning approval process was completed in January 2013. From 28 April to 13 December 2014, the line A line between Dachau and Altomünster was suspended for electrification, and Class 428 railcars were replaced by buses. After completion of the conversion work, electrical operation began on 14 December 2014. During rush hour, trains now operate on a 30-minute headway. Otherwise, service remains hourly. The route is operated as a wing section of the S 2. The last cost estimate was 47 million euros. Construction was originally scheduled to start in 2012 and completion was scheduled for 2013.