THOMASTON, Maine — A federal lawsuit has been filed on behalf of a Rockport man who claims he was the victim of illegal age discrimination by Lowe’s Home Centers.

The lawsuit on behalf of Albert Michael Lustgarten was filed Wednesday in U.S. District Court in Portland against Lowe’s.

Lustgarten states in the lawsuit that he worked at Lowe’s in Thomaston for 6½ years and was a department manager when he injured his knee and had to have surgery on it in July 2014. The 64-year-old Lustgarten claims in the lawsuit that while he was out of work recuperating, another manager at the Thomaston Lowe’s warned a friend of Lustgarten that the Rockport man was going to be terminated upon his return to work.

The lawsuit claims Lowe’s has a history of terminating older workers with medical conditions.

Lustgarten said he returned to work on Sept. 15, 2014, and was terminated on Sept. 26 for allegedly being rude and unfriendly to one of the workers he supervised, a claim he maintains was false. The allegation was a pretext to fire Lustgarten for his age and medical condition.

The Rockport man received a right-to-sue letter from the Maine Human Rights Commission on June 17, a commission spokeswoman confirmed Wednesday.

Lustgarten is seeking a jury trial for his claims. He is represented by attorney Guy Loranger of Old Orchard Beach.

The store manager at the local Lowe’s declined to comment on the allegations in the lawsuit when contacted by telephone Wednesday afternoon.