US President Donald Trump said he discussed forming a cyber security unit to guard against election hacking with Russian President Vladimir Putin.
Tweeting after his first meeting with Putin on Friday, Trump said now was the time to work constructively with Moscow, pointing to a ceasefire deal in southwest Syria that came into effect on Sunday.
"Putin and I discussed forming an impenetrable cyber security unit so that election hacking, and many other negative things, will be guarded and safe," he said following their talks at the G20 summit in Hamburg, Germany.
Trump said he had raised allegations of Russian interference in the 2016 US presidential election with Putin.
"I strongly pressed President Putin twice about Russian meddling in our election. He vehemently denied it. I've already given my opinion....." he tweeted.
"We negotiated a ceasefire in parts of Syria which will save lives. Now it is time to move forward in working constructively with Russia!"
Republican senator Marco Rubio of Florida immediately criticised the move, saying Putin was not a trusted partner.
Partnering with Putin on a "cyber security unit" is akin to partnering with Syrian President Bashar al Assad on a "chemical weapons unit," Rubio wrote.
He was among several Republican senators to criticise the move, including Lindsey Graham of South Carolina and John McCain of Arizona.
"It's not the dumbest idea I have ever heard but it's pretty close," Graham said.
Investigations by a special counsel, Robert Mueller, and several US congressional committees are looking into whether Russia interfered in the election and colluded with Trump's campaign.
Those probes are focused almost exclusively on Moscow’s actions, lawmakers and intelligence officials say, and no evidence has surfaced publicly implicating other countries.
Moscow has denied any interference, and Trump says his campaign did not collude with Russia.