A Republican lawmaker who made a habit of walking around Congress without a mask tested positive for the coronavirus on Wednesday as he prepared to leave for his native Texas with President Donald Trump. Louie Gohmert announced the diagnosis a day after attending a hearing featuring testimony from Attorney General Bill Barr, with whom he was seen walking and chatting at a close distance while neither wore a mask. Mr Gohmert, 66, said he was asymptomatic and downplayed his diagnosis. He has worn a mask sporadically in recent weeks, and suggested on Wednesday that moving it around on his face because it is uncomfortable "puts some germs in the mask" and perhaps this caused his infection. Even as the pandemic has raged in the US, Mr Trump ignored recommendations from US medical experts that people wear masks to help curb the spread of the virus and he did not wear one in public until July 11. Since then, Republican lawmakers who shunned masks have begun to wear them more regularly. But to wear or not wear a mask remains a political flashpoint in America. Mr Gohmert was tested on Wednesday at the White House because he was supposed to accompany Mr Trump on a visit to Texas. "So I'm asymptomatic, I don't have any of the symptoms that are listed as part of Covid-19, but apparently I have the Wuhan virus," Mr Gohmert said in a video using a term that angers China. Mr Gohmert said he has worn the mask more in the past week or two than in all of the past four months, and did so during Tuesday's hearing with Mr Barr. But he took it off a few times and was seen walking and talking with Mr Barr before the hearing. "Wear a damn mask," said Democrat Representative Jennifer Wexton from Virginia. "I don't know who needs to hear this, but if you're a member of Congress who refuses to wear a mask on Capitol Hill, you're not only putting your colleagues at risk – you're endangering the staff who works here, including many of my constituents," she said.