Prior to the 17th century most money was commodity money, typically gold or silver. However, promises to pay were widely circulated and accepted as value at least five hundred years earlier in both Europe and Asia. The Song Dynasty was the first to issue generally circulating paper currency, while the Yuan Dynasty was the first to use notes as the predominant circulating medium. In 1455, in an effort to control inflation, the succeeding Ming Dynasty ended the use of paper money and closed much of Chinese trade. The medieval European Knights Templar ran an early prototype of a central banking system, as their promises to pay were widely respected, and many regard their activities as having laid the basis for the modern banking system.
As the first public bank to "offer accounts not directly convertible to coin", the Bank of Amsterdam established in 1609 is considered to be the precursor to modern central banks.[9] The central bank of Sweden ("Sveriges Riksbank" or simply "Riksbanken") was founded in Stockholm from the remains of the failed bank Stockholms Banco in 1664 and answered to the parliament ("Riksdag of the Estates").[10] One role of the Swedish central bank was lending money to the government.[11]