The economy of the city of San Marino has always been closely bound to that of the country. Until recently, the main economic activities of the locality were stone extraction and carving. Today, there is a more varied economy, including tourism, commerce, sale of postage stamps, and a small agricultural industry, although the latter is in decline.