The Army general who heads the DC National Guard and has an integral part in overseeing the inauguration said Friday that he will be removed from command effective at 12:01 pm on 20 January, just as Donald Trump is sworn in as president.

Maj-Gen Errol R Schwartz’s departure will come in the middle of the presidential ceremony — classified as a national special security event — and while thousands of his troops are deployed to help protect the nation’s capital during an inauguration he has spent months helping to plan.

“The timing is extremely unusual,” Schwartz said in an interview Friday morning, confirming a memo announcing his ouster that was obtained by The Washington Post. During the inauguration, Schwartz will command not only members of the DC Guard but also 5,000 unarmed troops dispatched from across the country to help. He also will oversee military air support protecting Washington during the inauguration.

Donald Trump's inauguration: All you need to know

“My troops will be on the street,” said Schwartz, who turned 65 in October. “I’ll see them off, but I won’t be able to welcome them back to the armory.” He said he would “never plan to leave a mission in the middle of a battle.”

Unlike in the states, where the governor appoints the National Guard commander, in the District that duty falls to the president.

Military officials and Trump transition officials provided contradictory versions of the decision to replace General Schwartz. As is customary for presidential appointees, the general submitted a letter of resignation to give the new administration a clean start.

Two military officials with knowledge of the situation said the Trump team decided to accept the resignation. A person close to the transition said transition officials wanted to keep Schwartz in the job for continuity, but the Army pushed to replace him.

Schwartz, who was appointed to head the Guard by President George W Bush in 2008, maintained the position through President Obama’s two terms. He said his orders came from the Pentagon in the form of an email that names his interim successor, a brigadier general, who takes over at 12:01pm. next Friday.

Army Major Jamie Davis, a spokesman at the Defence Department, said Schwartz is classified as a “non-career status employee.” He noted that the interim commander “is ready to assume complete mission” and handle the inauguration.

One of the military officials said the Trump transition team receives lists of political appointees and can decide which resignations to accept. All resignations are effective at 12:01pm. on Inauguration Day.

DC Council Chairman Phil Mendelson blasted the decision to remove Schwartz, particularly during the inauguration.

“It doesn’t make sense to can the general in the middle of an active deployment,” Mr Mendelson said. He added that Schwartz’s sudden departure will be a long-term loss for the District. “He’s been really very good at working with the community, and my impression was that he was good for the Guard.”

Schwartz said he will work up until that moment, and then plans to retire from the Army. “I’m a soldier,” he said. “I’m a presidential appointee. Therefore, the president has the power to remove me.”

Like other deployments, Inauguration Day will be a complicated one for the DC National Guard — at least on paper. Since the District is not a state, its mayor cannot call up Guard members to active duty as a state governor can.

The District must send a letter to the secretary of the Army requesting the support. The District and the Army must then go through a seven-step process to initiate the deployment, during which Guard members carry out duties at the request of the mayor and city homeland security officials.

The two entities have been able to work together to make that happen quickly in response to unfolding natural disasters, such as last year’s record January snowfall. During that storm, which dumped 22 inches of snow, the Guard was activated in anticipation of the storm’s arrival, and troops helped shuttle officials, plow drivers and supplies back and forth across the city.

Schwartz began his military career in 1976 by enlisting in the Guard, formally called the Militia of the District of Columbia National Guard. He also oversees the Air National Guard, which combined with the Army Guard has an authorised strength of 2,700. He has served in several leadership positions, notably commanding the 372nd Military Police Battalion.

He graduated in 1980 from the University of the District of Columbia with a degree in electrical engineering and received a master’s degree in business management from Central Michigan University and in national security strategy from the National Defence University at Fort McNair in the District.

Schwartz said that he is most proud of the Youth Challenge Academy, a school for teenage dropouts run by the Guard with an infusion of federal money. The school, separate from DC public and charter schools, is located at the former Oak Hill facility, the District’s old juvenile jail. Schwartz said that about 60 per cent of the student body have obtained high school diplomas, and some have gone on to college.

Trump and Putin passionately kiss in street mural Show all 14 1 /14 Trump and Putin passionately kiss in street mural Trump and Putin passionately kiss in street mural A lesbian couple kisses in front of mural depicting Russian President Vladimir Putin and Republican presidential candidate Donald Trump, on the walls of a barbecue bar 'Keule Ruke' on May 19, 2016 in Vilnius, Lithuania. Barcroft Media/Getty Trump and Putin passionately kiss in street mural A lesbian couple kisses in front of mural depicting Russian President Vladimir Putin and Republican presidential candidate Donald Trump, on the walls of a barbecue bar 'Keule Ruke' on May 19, 2016 in Vilnius, Lithuania. Barcroft Media/Getty Trump and Putin passionately kiss in street mural VILNIUS, LITHUANIA - NOVEMBER 23: A woman walks past a mural showing U.S. President-elect Donald Trump (R) blowing marijuana smoke into the mouth of Russian President Vladimir Putin on the wall of a bar-b-que restaurant on November 23, 2016 in Vilnius, Lithuania. Many people in the three Baltic nations of Lithuania, Latvia and Estonia are concerned that Russia, because Trump has expressed both admiration for Putin and doubt over defending NATO member states, will be emboldened to intervene militarily in the Baltics. Sean Gallup/Getty Trump and Putin passionately kiss in street mural A woman walks past a mural on a restaurant wall depicting US Presidential hopeful Donald Trump and Russian President Vladimir Putin greeting each other with a kiss in the Lithuanian capital Vilnius on May 13, 2016. Kestutis Girnius, associate professor of the Institute of International Relations and Political Science in Vilnius university, told AFP -This graffiti expresses the fear of some Lithuanians that Donald Trump is likely to kowtow to Vladimir Putin and be indifferent to Lithuanias security concerns. Trump has notoriously stated that Putin is a strong leader, and that NATO is obsolete and expensive. Petras Malukas/AFP/Getty Images Trump and Putin passionately kiss in street mural AP Trump and Putin passionately kiss in street mural A child walks past a graffiti depicting Russian President Vladimir Putin, left, and Republican presidential candidate Donald Trump, on the walls of a bar in the old town in Vilnius, Lithuania, Saturday, May 14, 2016. (AP Photo/Mindaugas Kulbis) AP Trump and Putin passionately kiss in street mural People walk past a mural on a restaurant wall depicting US Presidential hopeful Donald Trump and Russian President Vladimir Putin greeting each other with a kiss in the Lithuanian capital Vilnius on May 13, 2016. Kestutis Girnius, associate professor of the Institute of International Relations and Political Science in Vilnius university, told AFP -This graffiti expresses the fear of some Lithuanians that Donald Trump is likely to kowtow to Vladimir Putin and be indifferent to Lithuanias security concerns. Trump has notoriously stated that Putin is a strong leader, and that NATO is obsolete and expensive. Petras Malukas/AFP/Getty Images Trump and Putin passionately kiss in street mural A man photographs a mural on a restaurant wall depicting US Presidential hopeful Donald Trump and Russian President Vladimir Putin greeting each other with a kiss in the Lithuanian capital Vilnius on May 13, 2016. Kestutis Girnius, associate professor of the Institute of International Relations and Political Science in Vilnius university, told AFP -This graffiti expresses the fear of some Lithuanians that Donald Trump is likely to kowtow to Vladimir Putin and be indifferent to Lithuanias security concerns. Trump has notoriously stated that Putin is a strong leader, and that NATO is obsolete and expensive. Petras Malukas/AFP/Getty Images Trump and Putin passionately kiss in street mural AP Trump and Putin passionately kiss in street mural A young woman walks past a mural showing U.S. President-elect Donald Trump (R) blowing marijuana smoke into the mouth of Russian President Vladimir Putin with the slogan "make everything great again," in reference to Trump's campaign slogan of "Make America Great Again," on the wall of a bar-b-que restaurant on November 23, 2016 in Vilnius, Lithuania. Many people in the three Baltic nations of Lithuania, Latvia and Estonia are concerned that Russia, because Trump has expressed both admiration for Putin and doubt over defending NATO member states, will be emboldened to intervene militarily in the Baltics. Sean Gallup/Getty Trump and Putin passionately kiss in street mural A morning commuter stops to look at a mural on a restaurant wall depicting US Presidential hopeful Donald Trump and Russian President Vladimir Putin greeting each other with a kiss in the Lithuanian capital Vilnius on May 13, 2016. Kestutis Girnius, associate professor of the Institute of International Relations and Political Science in Vilnius university, told AFP -This graffiti expresses the fear of some Lithuanians that Donald Trump is likely to kowtow to Vladimir Putin and be indifferent to Lithuanias security concerns. Trump has notoriously stated that Putin is a strong leader, and that NATO is obsolete and expensive. Petras Malukas/AFP/Getty Images Trump and Putin passionately kiss in street mural Restaurant owner Dominykas Ceckauskas pose next to a mural on the wall of his establishment depicting US Presidential hopeful Donald Trump and Russian President Vladimir Putin greeting each other with a kiss in the Lithuanian capital Vilnius on May 13, 2016. Kestutis Girnius, associate professor of the Institute of International Relations and Political Science in Vilnius university, told AFP -This graffiti expresses the fear of some Lithuanians that Donald Trump is likely to kowtow to Vladimir Putin and be indifferent to Lithuanias security concerns. Trump has notoriously stated that Putin is a strong leader, and that NATO is obsolete and expensive. / AFP / Petras Malukas (Photo credit should read PETRAS MALUKAS/AFP/Getty Images) Petras Malukas/AFP/Getty Images Trump and Putin passionately kiss in street mural A passerby photographs a mural showing U.S. President-elect Donald Trump (R) blowing marijuana smoke into the mouth of Russian President Vladimir Putin on the wall of a bar-b-que restaurant on November 23, 2016 in Vilnius, Lithuania. Many people in the three Baltic nations of Lithuania, Latvia and Estonia are concerned that Russia, because Trump has expressed both admiration for Putin and doubt over defending NATO member states, will be emboldened to intervene militarily in the Baltics. Sean Gallup/Getty Trump and Putin passionately kiss in street mural Getty

“These are kids with high potential,” Schwartz said. “They just need to be steered a little bit. That’s what guardsmen can do.” He said he has told his wife that he might stay active in the school.

“I don’t mind walking the halls and knocking on doors wearing a suit and tie,” he said.