At some point in the 1st millennium BC, the inhabitants of Rhodes created the 'general average'.
The ancient Athenian "maritime loan" advanced money for voyages with repayment being cancelled if the ship was lost.