BEIJING (AFP) - Jack Ma was a cash-strapped Chinese entrepreneur and former English teacher when he convinced friends to give him US$60,000 to start a Chinese e-commerce firm called Alibaba in 1999.
Almost two decades later, Alibaba is an Internet juggernaut and Ma is among the world's richest men, with a net worth of more than US$40 billion, according to the Bloomberg Billionaires Index.
But the company's chairman is now retiring, telling The New York Times that he plans to step down on Monday - his 54th birthday - to devote his time to philanthropy focused on education.
Alibaba Group includes Tmall.com for business-to-consumer transactions and Taobao, China's most popular online consumer marketplace with hundreds of millions of products and services listed.
The company has now become a player in online payments and films, and it has been pouring investment into an array of ventures, including bricks-and-mortar retail, cloud computing, meal delivery and advertising.
It owns a stake in China's hugely popular Twitter-like Weibo platform and in 2015 it bought the South China Morning Post newspaper.
Ma, whose Chinese name is Ma Yun, has often described himself as something of an accidental entrepreneur, giving up his university teaching for the hustle of trade after discovering the Internet.
Seeing an opportunity for small businesses to buy and sell their goods online, he started Alibaba, initially running the company out of his apartment in the eastern city of Hangzhou, where the company's headquarters remains.
He has inspired strong devotion among his employees and users, drawing comparisons with the late Apple co-founder Steve Jobs - although he practises a more open management style.
He is one of the most colourful of China's growing cop of billionaires, performing a Michael Jackson-inspired dance routine at the company's 18th anniversary celebration last year, and starring in his own kung fu short film.
He likes to recount his stories of rejection, such as the time he was turned down for a job at the KFC fast-food chain and being rejected by Harvard "10 times".
Ma's success was evident after Alibaba's Taobao bested eBay in China, forcing the US auction site to largely withdraw from the country in 2006.
He retired as Alibaba's chief executive in 2013, eventually handing the reins to his protege Daniel Zhang, but he remained active within the company, providing strategic direction as chairman.
Ma has long shown an admiration for Microsoft founder Bill Gates who has donated vast amounts of his wealth to philanthropic causes.
Like Gates he has created his own eponymous foundation - the Jack Ma Foundation - which he says will push his original calling: Education.
"This is something I think I can do much better than being CEO of Alibaba," he told Bloomberg TV recently.