An engineer from Seattle formerly employed by Microsoft founder Bill Gates at his Seattle mansion has been sentenced to 90 days in a county jail for sending thousands of child pornography images online.

Rick Allen Jones, 52, pleaded guilty last Friday to felony possession of child pornography and failing to report child pornography, a misdemeanor, stemming from the discovery of a cache of more than 6,000 photos and videos depicting sexual acts involving minors that he had amassed over the course of 10 years.

Jones, who was arrested last December, was sentenced to 90 days in King County Jail, followed by two years' probation.

Rick Allen Jones, 52, worked for Bill and Melinda Gates at their waterfront home in Medina, Washington (pictured) until late 2014, when he was arrested and charged with possession of child pornography. He was sentenced Friday to 90 days in jail

The former employee of Bill and Melinda Gates also will be required to register as a sex offender and keep away from children.

The felony and misdemeanors charge s against Jones usually carry a sentence of three-to-six months, but prosecutors agreed to ask for a 90-day jail term because the 52-year-old engineer has to look after his ailing mother, reported Seattle PI.

Jones is due to report to King County Jail to begin serving his sentence July 10.

According to prosecutors, the Gates' former staffer had shared the vile images using his Gmail account.

Investigators were able to identify some of the children in the images, according to Kiro TV.

Police began to investigate Jones in 2013 after tracking him down from a sordid image which was posted online.

According to Seattle PI, the image showed the sexual exploitation of two young boys.

Cops went to look for him at his home in the Ballard neighborhood of Seattle in March 2014.

Cops allegedly found more than 6,000 images of child porn at the home of Jones in the Ballard neighborhood of Seattle (pictured left). The 52-year-old was employed as an engineer at the home of Bill Gates (right)

Jones was finally tracked down to his workplace at the tech billionaire's $147-million-dollar, waterfront estate in Medina, Washington.

He was interviewed in a security office at the estate by detectives, according to Seattle PI.

While he was being interviewed, police went into his home with a search warrant and found 6,495 images, including 133 in which the young victims have been identified by police.

Some of the photos depicted the anal rape of an 8- to 10-year-old boy and the rape of an 8- to 10-year-old girl.