TCDD was founded as a state company in 1927 by the new Turkish Republic to take over existing railways in Anatolia and to develop them in accordance with the needs of the country. Prior to the Republic, the Ottoman Empire awarded all concessions to private railways companies. These companies were financed by foreign capital except for the renowned Hedjaz Railway