An employee of a Texas cookie shop was suspended after he purchased an order for a police officer.

The young man was working at the Great American Cookies in Katy Mills Mall Sunday when an off-duty police officer placed an order with him, the Houston Chronicle reported.

When the employee caught a glimpse of the officer’s badge he offered to pay for the order.

The police officer thanked him and left the store. The kind gesture was done.

But that was not it for the couple in line behind the officer who demanded the employee pay for their order too, according to the Chronicle.

When the employee said he only did it for the officer because of his badge, the man called him a racist and attempted to fight him, according to the account described by the employee’s mother, Tami Kurtz Randolph, on Facebook.

“Then this customer started verbally attacking him, calling my son a racist and threatened to beat him up. His wife threatened to go back there and slap him,” Randolph wrote. “The middle aged man sat down his little daughter and tried to come behind the counter to attack him. Thankfully his coworker defused the situation. The man said ‘I will get you fired.'”

The customer left but the situation was not over for the employee.

“Tuesday he walks in with all his stuff. He was told the upper managers want him fired. Thankfully his manager refused and said you are an excellent worker and and everyone agreed that you did nothing wrong (The day before this situation he was offered a $2 an hour raise and management) He then started his normal scheduled shift,” Randolph said. “He worked 2-3 hours , when he was called into the back room where she had written him up. It says “he bought a cookie for a police officer and a customer wanted to physically fight him” it does state “if this happens again he will be terminated.” Then she stated after today’s shift you will be on a 1 week suspension.”

The management of the store has since issued an apology and affirmed it’s commitment to law enforcement in a statement to the Chronicle.

“On behalf of Great American Cookies Katy Mills, we owe the employee an apology. It was never an issue that he purchased a brownie for a police officer, but rather the events that unfolded with another customer in line at the time. However, after further review, we realize that the employee was in fact in the right and we continue to reach out to him and his mom to issue an apology. The corrective action and suspension was reversed immediately and we hope to connect with him today,” the store’s owner, Biju George, wrote.

The executive vice president of the chain, David Kaiser, also issued a statement to the Chronicle.

“Great American Cookies proudly supports Law Enforcement, First Responders and all who serve our country,” he wrote. “Though our stores are independently managed and operated, when the situation first arose, we reached out to the franchisee to ensure that the situation was addressed and handled appropriately.”

But none of those statements did much to assuage anger on social media.

Will NEVER buy a cookie from the great American cookie company. And to the family that caused the commotion a big FU! — Stephanie Brienza (@sabrienza) July 8, 2017

Time to stop buying from Great American Cookie Company. Proud of this young man. Disgusted with upper management. https://t.co/tpTfkKfbXB — Jim Carpenter (@sportsfan_james) July 8, 2017

Boycot Great American Cookie company. Management is a joke. Get this kid a better job with a better company. — Adam C Garcia (@Honestadamg) July 8, 2017

Boycott the great american cookie company! https://t.co/FaAkeh3YZG — T-Roy(Swamp People) (@broussard_troy) July 8, 2017

Boycott the great american cookie company! https://t.co/FaAkeh3YZG — T-Roy(Swamp People) (@broussard_troy) July 8, 2017

I live in East Texas and think this store should be ashamed. Our police are LOVED and we show our appreciation in a lot of ways. — Peggy Krull (@pnjkrull) July 8, 2017

Boycott this stupid cookie company — Jason Zhou (@nanosbir) July 8, 2017

Wake up right! Receive our free morning news blast HERE