US Deputy Attorney General Rod Rosenstein testifies during a Senate Appropriations Subcommittee on Commerce, Justice, Science and Related Agencies hearing on Capitol Hill in Washington, DC, June 13, 2017. (Photo credit should read SAUL LOEB/AFP/Getty Images)

President Donald Trump attacked his Deputy Attorney General Rod Rosenstein during the explosive New York Times interview published Wednesday for being from Baltimore, even though he was born and raised in and around Philadelphia.

"There are very few Republicans in Baltimore, if any," President Trump said during the interview, seemingly irritated by Rosenstein's supposed place of origin.

Trump has been irritated at Rosenstein after the Deputy Attorney General appointed Special Counsel John Mueller in May to lead the investigation into the Trump campaign's connections to Russia after Attorney General Jeff Sessions recused himself.

Rosenstein was nominated by President George W. Bush to serve as United States Attorney for the United States District Court for the District of Maryland in 2005 where he oversaw federal civil and criminal litigation in the state. He later took a seat on the U.S. Court of Appeals for the Fourth Circuit after becoming a resident of Maryland.

However, the Deputy Attorney General was not originally from Baltimore. He was born in Philadelphia, raised in Lower Moreland Township, Pennsylvania, and got his education from the Wharton School of the University of Pennsylvania.

READ: Who Is Rod J. Rosenstein? President's Deputy Attorney General Pick Declined Appointment Of Special Prosecutor In The Russia Probe

This inattention to detail about Rosenstein's origins was quickly pointed out on social media platform Twitter.

Trump's attack on Rosenstein and the Maryland city came during the interview immediately after he lamented Attorney General Jeff Sessions' recusal from investigating the Trump campaign's alleged collusion with the Russian government during the 2016 presidential election.

"Yeah, what Jeff Sessions did was he recused himself right after, right after he became attorney general," the president said in the interview. "'Why didn’t you tell me this before?' I would have — then I said, 'Who’s your deputy?' So his deputy he hardly knew, and that’s Rosenstein, Rod Rosenstein, who is from Baltimore."

READ: Rod Rosenstein Condemns Reports Of Intelligence Leaks Amid 'Investigation' Of Jared Kushner's Business Deals

The New York Times interview with the president came out the same day as White House spokeswoman Sarah Huckabee Sanders said that Trump declined an invitation to speak at the NAACP’s annual convention next week in Baltimore, according to a report by the Associated Press.

Trump did not speak to the NAACP convention last year, citing conflicts with the Republican National Convention.

Trump's pick for Secretary of Housing and Urban Development Ben Carson is known for his work when he was a neurosurgeon at Baltimore's John Hopkins Hospital. Like Rosenstein, Carson did not come from the city and was born in Detroit, Michigan.