International software firm Microsoft has come to a settlement with an employee over allegations of discrimination.
Games developer Jamie Durrant sued the company, saying he had been the victim of homophobic abuse.
He claimed that he had been called "fag boy Jim" by colleagues and had been sent mocking emails which made fun of his sexuality.
The 38-year-old came to an agreement with Microsoft during an employment tribunal which was held in London this week.
Under the terms of the deal, he will receive compensation for "hurt feelings" and loss of pay.
A spokesperson for Microsoft said: "We are pleased to have reached an amicable resolution to this matter with Mr Durrant.
"The terms of the settlement are confidential, but we can confirm that [he] will not continue his employment at Lionhead [Studios] as part of the agreement."
Founded by Bill Gates, Microsoft is a US-based computer technology company with operations around the world.