Eric Trump broke the law and tweeted a photo of his marked ballot

Eric Trump broke the law Tuesday morning when he posted a photo of his marked ballot on Twitter.

While trying to show support and encourage voting, Eric Trump posted a photo of his ballot with his father’s name penciled in, Buzzfeed reports.

“It is an incredible honor to vote for my father! He will do such a great job for the U.S.A.! #MakeAmericaGreatAgain,” his Tweet read.

The post, which has since been deleted, quickly drew backlash from other Twitter users.

According to New York state election law, it is a misdemeanor if someone “shows his ballot after it is prepared for voting, to any person so as to reveal the contents.”