All political signs must be kept at least 100 feet from the polling plac.

Voters are required to show up at the polls wearing neutral attire

Mauthe removed his cap but would not turn his t-shirt inside out

The items of clothing appeared to show deliberate support for Republican presidential nominee Donald Trump

Brett Mauthe, 55, was at the polling booth when he was told to remove his hat and t-shirt

A man from Texas man has been jailed on charges of electioneering after wearing a pro-Donald Trump hat and shirt into a polling place.

Brett Mauthe, 55, of Bulverde, near San Antonio, said he was wearing a hat supporting the Republican presidential nominee and a T-shirt that read, 'Basket of deplorables'.

Polling officials ordered him to remove the cap and to turn his shirt inside out.

Mauthe agreed to remove his headgear but refused to adjust how he was wearing the shirt.

Brett Mauthe, 55, of Bulverde, Texas was charged with 'electioneering,' a misdemeanor, for wearing Trump campaign garb to a polling place last Monday

Unaware of the state's strict election code, he was duly arrested and charged with electioneering, a Class C misdemeanor, before later being released from Comal County Jail in New Braunfels on $500 bond.

'He wanted to take a stand,' Bulverde Police Chief Gary Haecker told the New Braunfels Herald-Zeitung.

'I went up there and talked to him. I told him, 'I support you and I appreciate what you're doing. It's your right, but you're going about it the wrong way here.' The election code has very specific rules.'

Mauthe was in violation of Texas' election code, which prohibits 'electioneering and loitering' within 100 feet of a polling place.

Mauthe said he complied with an initial request by officials at the poll to remove his hat but refused to turn his T-shirt inside out. He said he was unaware that wearing such attire to the polls was a violation of the election code (file photos)

He was taken to jail but then later released the same day.

Cynthia Jaqua, the Comal County elections coordinator told the San Antonio Express-News that it is extremely rare for a voter to be arrested on an electioneering charge.