Bill Gates said a teary goodbye today to Microsoft Corp, the software maker he built into the world's most valuable technology company based on the ambitious goal of placing a computer on every desk and in every home.

He leaves Microsoft, which he co-founded with childhood friend Paul Allen in 1975, to focus on his philanthropic organization, the Bill and Melinda Gates Foundation, the world's largest charity, funded in part by his vast fortune.

At an employee event at Microsoft's scenic headquarters campus here, Mr Gates joined Chief Executive Steve Ballmer on stage to deliver a short speech and field questions from employees.

"There won't be a day in my life when I won't be thinking about Microsoft, the great things that we're doing and wanting to help," said Mr Gates, who wiped away tears as the group of employees rose to give him a standing ovation.

Mr Ballmer, a Harvard University classmate who joined Microsoft at Mr Gates' behest, got choked up as he tried to describe Mr Gates' impact on the company and society at large.

"There's no way to say thanks to (Mr Gates). (Mr Gates)'s the founder. (Mr Gates)'s the leader," said Mr Ballmer. "This is (Mr Gates)'s baby."

Mr Gates will leave behind a life's work developing software to devote energy to finding new vaccines or to microfinance projects in the developing world. He will remain chairman of Microsoft and work on special technology projects.

Mr Ballmer spoke about how he contemplated quitting Microsoft a month after joining the company and return to Stanford University business school. Mr Gates passionately implored him to stay and laid out the vision of the company.

"This is what (Mr Gates) said to me. 'You don't get it. You don't get it. We are going to put a computer on every desk and in every home,'" said Mr Ballmer.

There are currently more than one billion PCs worldwide, according to research firm IDC.

Once the world's richest man, Mr Gates' personal fortune has been estimated at about $58 billion, according to Forbes Magazine. He has slipped to third place, behind investor and good friend Warren Buffett and Mexican telecoms tycoon Carlos Slim.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.