Seattle: The estate of Ric Weiland, a high school classmate of Microsoft Co founders Bill Gates and Paul Allen and one of the first five people to work at the software giant, has left $65 million (Dh238m)) to gay rights and HIV/Aids organisations.

The bequests were announced Sunday by the Pride Foundation of Seattle, where Weiland was a board member for several years. The foundation called it the largest single bequest ever given to gay, lesbian, bisexual and transgender causes.

Gates and Allen hired Weiland in 1975, the year they founded Microsoft. He worked as a project leader for the Microsoft Works word processing and spreadsheet software, and was a lead programmer and developer for the company's BASIC and COBOL systems, two of the first personal computing interfaces. He left Microsoft in 1988.

Weiland donated tens of millions to various organisations, from gay rights groups to environmental and education organisations, before he died in 2006. He committed suicide at age 53 after a long battle with depression. The $65 million is among bequests totalling about $160 million the bulk of Weiland's estate, to various charities and Stanford University, his undergraduate alma mater, according to an estimate provided by the Foundation.