A network of roads connects San Marino with the surrounding regions of Italy. The country's major resources are its industry, tourism, commerce, agriculture, and handicrafts. There are no significant mineral resources. Postage stamps are San Marino's major source of revenue. Wine made from local grapes, wood machinery, chemicals, and ceramics are the chief exports.
Major crops are wheat, corn, barley, and grapes.
Dairying and livestock raising also contribute to the economy. Building materials, paints, varnishes, paper, metalwork, textiles, clothing, footwear, furniture, food and confectionery products, liqueurs, and cosmetics are produced. The republic traces its origin to the early 4th century AD . By the 12th century it had developed into a commune, and by the middle of the 15th century it was a republic. After Italy became a national state, a series of treaties confirmed San Marino's independence.