A Philadelphia accountant lost his lawsuit against a Manhattan bar that is accused of kicking him out after he walked in wearing a "Make America Great Again" cap.

Greg Piatek, 31, sued The Happiest Hour bar

He took his case to the Manhattan Supreme Court and said the situation escalated because of a rude bartender.

"Anyone who supports Trump — or believes in what you believe — is not welcome here! And you need to leave right now because we won't serve you!" Piatek said the employees told him, according to the Post.

Elizabeth Conway, a lawyer representing the bar's owners, said that only religious beliefs are protected by discrimination laws and that "supporting Trump is not a religion," the Post reported.

Piatek's attorney, Paul Liggieri, said Piatek visited the 9/11 Memorial and wore the hat to pay "spiritual tribute to the victims of 9/11," according to the Post, and that he wore the hat because of "his spiritual belief.

"Rather than remove his hat, instead he held true to his spiritual belief and was forced from the bar," the lawyer said.

Justice David Cohen eventually tossed the lawsuit out because Piatek couldn't provide a specific faith-based principle related to the MAGA hat, the Post reported. Piatek told the Post he would review the decision and decide if he wants to appeal.

A separate report from the Post found that Piatek paid a bar tab of $186 and provided a $36 tip.