A Lithuanian man who duped Google and Facebook into transferring over $100m into accounts he controlled has pleaded guilty to wire fraud.

Evaldas Rimasauskas, 50, sent fraudulent invoices to the California-based tech companies between 2013 and 2015, according to the US Justice Department.

He was involved in running a company that controlled several accounts at banks in Latvia and Cyprus, according to a 2016 indictment filed in the US Attorney’s Office for the Southern District of New York.

Mr Rimasauskas and his unnamed associates were posing as Quanta Computer, a hardware company based in Taiwan that has done business with Facebook and Google, Reuters reported.

Mr Rimasauskas pleaded guilty to wire fraud in federal court in Manhattan, where Judge George B Daniels set a 24 July sentencing date.

Facebook birthday: 15 defining moments for the social network Show all 15 1 /15 Facebook birthday: 15 defining moments for the social network Facebook birthday: 15 defining moments for the social network Facebook is born On 4 Feb, 2004, 19-year-old Harvard student Mark Zuckerberg launched a website called 'TheFacebook' from his dorm. Within 24 hours the college social network had more than 1,000 users Wikimedia Commons Facebook birthday: 15 defining moments for the social network Winklevoss twins sue Zuckerberg Within one week of launching, fellow Harvard students Cameron Winklevoss, Tyler Winklevoss and Divya Narendra accused Zuckerberg of stealing their idea. It would be four years later when the resulting lawsuit was finally settled Facebook birthday: 15 defining moments for the social network Open for business The social network finally opened it platform to everyone on 26 September, 2006. The move proved the catalyst in supercharging the site's already explosive growth PA Facebook birthday: 15 defining moments for the social network Billion-dollar bid Yahoo offered $1 billion to buy Facebook in September 2006 but Zuckerberg turned it down. 'I don’t know what I could do with the money,' Zuckerberg reportedly said. 'I’d just start another social networking site' Reuters Facebook birthday: 15 defining moments for the social network In the money In September 2009, almost five years since the site launched, Facebook turned a profit for the first time Getty Images/iStockphoto Facebook birthday: 15 defining moments for the social network Taking the lead Facebook overtook MySpace in 2010 to become the world’s most popular social network Facebook birthday: 15 defining moments for the social network Taking on the tech giants In 2011, Google launched its own social network that it hoped would knock Facebook from its perch. Despite its initial success, Google+ ultimately failed and will be shut down completely in 2019 Getty Facebook birthday: 15 defining moments for the social network Facebook goes public On 18 May, 2012, Facebook went public. The initial public offering raised $16 billion – the third largest in US history Facebook birthday: 15 defining moments for the social network Gobbling up the competition Facebook acquired Instagram in April 2012 for $1 billion, consolidating its position as the world's leading social network Reuters Facebook birthday: 15 defining moments for the social network One billion users On 4 October, 2012, Zuckerberg announced that Facebook had hit 1 billion users. 'If you’re reading this: thank you for giving me and my little team the honour of serving you,' he wrote in a blog post Getty Images Facebook birthday: 15 defining moments for the social network Expanding its empire In February 2014 Facebook acquired the messaging app WhatsApp for $19.3 billion REUTERS/Dado Ruvic Facebook birthday: 15 defining moments for the social network Two billion users In June 2017, Facebook passed the 2 billion user milestone REUTERS/Dado Ruvic Facebook birthday: 15 defining moments for the social network Privacy scandal On 17 March 2018, news broke that UK firm Cambridge Analytica had harvested data from around 87 million Facebook users for the purpose of political profiling in the build up to the 2016 US presidential elections Shutterstock Facebook birthday: 15 defining moments for the social network Record profits Despite the scandals and subsequent #DeleteFacebook campaign, Facebook posted record profits just before its 15th anniversary, the equivalent of $7.37 from each of its 2.32 billions users iStock/Independent Facebook birthday: 15 defining moments for the social network Unhappy users A study found that people are happier when they don’t use Facebook, adding to mounting evidence surrounding the impact social media has on mental health Rex Features

The charge could carry as many as 30 years in prison and a fine of as much as $1m or twice the crime's proceeds.

The plea deal Mr Rimasauskas reached with prosecutors said he faces almost certain deportation once he finishes his prison time.

In a statement on Wednesday, Geoffrey S Berman, the US attorney for the Southern District of New York, said: “As Evaldas Rimasauskas admitted today, he devised a blatant scheme to fleece US companies out of $100m, and then siphoned those funds to bank accounts around the globe.”

Some of the money transfers involved banks in New York City, the indictment stated.

“Rimasauskas thought he could hide behind a computer screen halfway across the world while he conducted his fraudulent scheme, but as he has learned, the arms of American justice are long, and he now faces significant time in a US prison,” Mr Berman added.

Mr Rimasauskas was extradited from Lithuania to the United States in 2017. He has agreed to forfeit around $50m, court documents show.

After his guilty plea last week, he could face up to 30 years in prison. He is scheduled to be sentenced in July.

In a court appearance, Mr Rimasauskas said that he had knowingly participated in fraud and that his role was to set up the bank accounts to facilitate the scheme, Bloomberg reported.

“I was asked to open bank accounts,” he reportedly said. “After that I did not do anything with these accounts.”

After money was wired from the tech companies to the bank accounts in Cyprus and Latvia, the Justice Department said in its statement, Mr Rimasauskas “caused the stolen funds to be quickly wired into different bank accounts in various locations throughout the world, including Latvia, Cyprus, Slovakia, Lithuania, Hungary, and Hong Kong.”

The statement added that he also helped to supply banks with forged documents to explain the large transfers of money.

Mr Rimasauskas was originally charged with five criminal counts that included identity theft and money laundering.

But after last week’s guilty plea for wire fraud, the remaining four charges should be dismissed at sentencing, said his lawyer, Paul D Petrus Jr.

“Mr. Rimasauskas was far from a major actor in this matter,” Mr Petrus said, adding that he did not know of any other people who have been charged in connection with the scheme.

Support free-thinking journalism and attend Independent events

In emailed statements Sunday, Facebook said the company had “recovered the bulk of the funds shortly after the incident and has been cooperating with law enforcement in its investigation”.

Google said it had “detected this fraud and promptly alerted the authorities. We recouped the funds and we’re pleased this matter is resolved”.

According to the FBI, crimes that involve deceiving companies via email have grown more common – and much more sophisticated – in recent years, resulting in billions of dollars in losses.