How was Elon Musk involved in Paypal?

Elon Musk founded X.com, which merged with Confinity to form Paypal.