A Louisiana man pleaded guilty on Monday to using President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE’s Social Security number in a failed attempt to access his federal tax information during the 2016 presidential race.

Jordan Hamlett, 32, faces a maximum sentence of five years in prison and a $250,000 fine, The Associated Press reported.

Prosecutors said Hamlett, who works as a private investigator, was acting a “white hat” hacker who sought to access Trump’s tax returns through an Education Department financial aid website.

ADVERTISEMENT

Hamlett’s defense attorney said the defendant attempted to find the tax returns "out of sheer curiosity."

Hamlett was indicted in November 2016 and was arrested again in August after violating terms of his pretrial release by hacking into another man’s email and social media accounts.

Trump’s tax returns were a major issue for many Democrats in the 2016 presidential race. For decades candidates traditionally have released their returns, but Trump refused, repeatedly saying he was under audit.

He has not released his tax returns as president.