A hacker broke into 49 government websites and laced the compromised sites with expletives towards the US President.

The attack happened after President Barack Obama delivered his State of the Union speech on Wednesday.

Representatives on both sides of the isle were targeted, according to Nation Journal.

Missouri Democratic Rep. Russ Carnahan, Democratic Reps. Ray Lujan and Harry Teague of New Mexico, John Boccieri and Steve Driehaus of Ohio were among those targeted.

Spokesman Jeff Ventura in the chief administrative office said the sites that were hit were managed by a third-party vendor, the AP reported.

In contrast, most lawmakers' websites are managed by House technicians.