A man charged with attacking the White House Correspondents' Association dinner in Washington DC last month has pleaded not guilty.

Cole Tomas Allen, 31, was charged with federal gun crimes and attempting to assassinate US President Donald Trump.

The gun charges include using a firearm during a crime of violence and interstate transportation of a firearm with intent to commit a felony.

Allen appeared in court on Monday in an orange jumpsuit and was shackled at the wrists and feet, according to CBS News, the BBC's US partner.

Prosecutors allege that Allen attempted to storm past a security checkpoint and fired a shot at a US Secret Service agent at the event at a Washington Hilton hotel. The federal agent was hit in an exchange of gunfire but was saved by his bullet-proof vest.