President Obama's administration produced a 15-page plan in October to put in place in case of an election day cyber attack, courtesy of the Russians, who had already targeted Hillary Clinton's aides and the Democratic National Committee.

Time Magazine obtained a copy of the document, which notes that while 'state, local, tribal, and territorial governments' would have the primary jurisdiction to respond, the federal government would have 'enhanced procedures' in place in case of a heightened incident.

Besides having all the FBI and DHS cyber experts at the ready, the document referenced military plans, and also a public relations campaign, in order to keep doubts about the legitimacy of the election at bay.

Scroll down for video

Behind-the-scenes and before election day, President Obama's administration produced a document outlining plans for what could happen if there was an election day hack, with the Russians already having targeted Hillary Clinton's campaign and the DNC

Besides having all the FBI and DHS cyber experts at the ready, the document referenced military plans, and also a public relations campaign

For instance, listed under the Department of Defense's response, the document reads: 'Available forces for incident response in a federal status could include the Active and Reserve Components, to include the National Guard.'

And while armed federal personnel are prohibited by law to enter a polling place, a cyber attack that shut down voting would scrap that, the document made clear.

'It is important to note that the Department of Justice has concluded that armed federal law enforcement agents may, where otherwise appropriate, respond to a cyber or other incident at a polling place that caused it to cease functioning (i.e. when balloting has entirely ceased at that location),' it read.

Additionally, in order to combat any sort of 'fake news' stories planted after an election hack, a special interagency group would stay assembled until Friday, November 11, three days after voting to address 'any post-election cyber incidents.'

Public affairs professionals would be on hand to carefully craft messages.

'These public statements should be developed to avoid inadvertently calling into doubt the integrity of the voting process and to avoid negative impacts to voter turnout,' the document read.

Time's publication of this document piggybacks on testimony made in June by former Department of Homeland Security Secretary Jeh Johnson.

Prior to the document being released, former Homeland Security Secretary Jeh Johnson testified in June that he wanted to deem election infrastructure 'critical infrastructure' to state and local jurisdictions could get more help. Local officials weren't pleased with the idea

The 15-page document points out that the Department of Justice said it would be OK for armed federal agents to come to polling places if a cyber attack were detected, bringing voting to a standstill

Johnson told the House Intelligence Committee that he had wanted to deem election infrastructure 'critical infrastructure' giving it various domestic and international cybersecurity protections.

State and local officials, however, didn't take kindly to the offer, fearing a 'federal takeover' of elections.

'I convened a conference call with secretaries of state and other chief election officials of every state in the country,' Johnson testified. 'I told state officials that we must ensure the security and resilience of election infrastructure, and offered DHS’s assistance to the states in doing that.'

'To my disappointment, the reaction to a critical infrastructure designation, at least from those who spoke up, ranged from neutral to negative,' Johnson continued.

'Those who expressed negative views stated that running elections in this country was the sovereign and exclusive responsibility of the states, and they did not want federal intrusion, a federal takeover, or federal regulation of that process,' he explained.

'This was a profound misunderstanding of what a critical infrastructure designation would mean, which I tried to clarify for them,' he added.

But the response was so negative, Johnson said, that he put the idea on the back burner and encouraged state officials to simply ask the DHS for help if they needed it.

Thirty-six states eventually asked for DHS help, Johnson testified.