The first banks developed in response to the great risk of early trading. Bandits, uncertain foreign markets, and a multitude of foreign currencies made caravans or trade ships (funded by a merchant or investor) very vulnerable. Without a way to spread the risk, the caravan's failure meant the end of a merchant's career. Banking helped to change this by splitting risk between bank and merchant. The Romans developed banking into a robust system of mortgages, loans, and credits. With banking, capital was available to expand trade and spread commerce widely.