US president Donald Trump has weighed in on the racist photo that appeared in the medical college yearbook of Virginia governor Ralph Northam.

Democratic officials in Virginia and nationally urged Mr Northam to resign after news reports of the photo, which appeared in Mr Northam’s 1984 medical school yearbook and showed a person in blackface and a person in Klan regalia.

Mr Northam refused to resign, however, and said on Saturday that he was not either of the people pictured.

“It has taken time for me to make sure that it’s not me, but I am convinced, I am convinced that I am not in that picture,” he told reporters gathered at the Executive Mansion in Richmond, calling the shot offensive and horrific.

Democrat Governor Ralph Northam of Virginia just stated, “I believe that I am not either of the people in that photo.” This was 24 hours after apologizing for appearing in the picture and after making the most horrible statement on “super” late term abortion. Unforgivable!

Ed Gillespie, who ran for Governor of the Great State of Virginia against Ralph Northam, must now be thinking Malpractice and Dereliction of Duty with regard to his Opposition Research Staff. If they find that terrible picture before the election, he wins by 20 points!

In a radio interview, the governor described a hypothetical situation in which an infant who is severely deformed or unable to survive after birth is left to die.

Mr Trump tweeted after those comments that “Democrats are becoming the Party of late term abortion”.

As calls mounted on Saturday for Mr Northam to resign because of the photo, Mr Trump tweeted: “Democrat Governor Ralph Northam of Virginia just stated, ‘I believe that I am not either of the people in that photo.’ This was 24 hours after apologizing for appearing in the picture and after making the most horrible statement on ‘super’ late term abortion. Unforgivable!”

In a second tweet, Mr Trump wrote: “Ed Gillespie, who ran for Governor of the Great State of Virginia against Ralph Northam, must now be thinking Malpractice and Dereliction of Duty with regard to his Opposition Research Staff. If they find that terrible picture before the election, he wins by 20 points!”