US president Donald Trump said on Twitter on Sunday that he discussed forming a cyber security unit to guard against election hacking with Russian president Vladimir Putin

US president Donald Trump said on Twitter on Sunday that he discussed forming a cyber security unit to guard against election hacking with Russian president Vladimir Putin.

Putin & I discussed forming an impenetrable Cyber Security unit so that election hacking, & many other negative things, will be guarded.. — Donald J. Trump (@realDonaldTrump) July 9, 2017

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 & I discussed forming an impenetrable Cyber Security unit so that election hacking, & 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....."

I strongly pressed President Putin twice about Russian meddling in our election. He vehemently denied it. I've already given my opinion..... — Donald J. Trump (@realDonaldTrump) July 9, 2017

He added: "We negotiated a ceasefire in parts of Syria which will save lives. Now it is time to move forward in working constructively with Russia!"

...We negotiated a ceasefire in parts of Syria which will save lives. Now it is time to move forward in working constructively with Russia! — Donald J. Trump (@realDonaldTrump) July 9, 2017

Republican Senator Marco Rubio of Florida immediately criticized the move on Twitter, 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," he wrote.

Partnering with Putin on a "Cyber Security Unit" is akin to partnering with Assad on a "Chemical Weapons Unit". 2/3 — Marco Rubio (@marcorubio) July 9, 2017

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.