NEW YORK — Chipotle is asking customers not to bring firearms into its stores after it says gun-rights advocates brought military-style assault rifles into one of its restaurants in Texas.

The Denver-based company notes that it has traditionally complied with local laws regarding open and concealed firearms.

But in a statement Monday, the company said that “the display of firearms in our restaurants has now created an environment that is potentially intimidating or uncomfortable for many of our customers.”

The announcement came after a petition by Moms Demand Action for Gun Sense in America, which has called on other companies to ban firearms in their stores as well. The group said its petition was in reaction to open-carry gun activists appearing at a Dallas-area Chipotle restaurant over the weekend.

Erika Soto Lamb, a spokeswoman for the group, said she thought the move by Chipotle was a “bold statement,” especially considering its previous stance of complying with local laws.

Many states allow people to carry licensed guns in some way, but some businesses exercise their right to ban firearms.

A Chipotle spokesman didn’t immediately respond when asked if the company’s request was an outright ban, or how it would respond if people continued to bring firearms into its restaurants.

Last year, Starbucks Corp. also told customers that guns were no longer welcome in its cafes after it had to temporarily close a store in Newton, Conn., to avoid a demonstration by gun-rights advocates. The company said it shut down the store out of respect for the community.

Chipotle Mexican Grill Inc. noted in its statement that “there are strong arguments on both sides of this issue.” It said it hoped that customers who oppose carrying guns in public agree that “it is the role of elected officials and the legislative process to set policy in this area.”