Authorities say a suspected gunman was killed and an off-duty officer injured in a shootout outside a Walmart store in the east Texas town of Commerce.

Commerce spokeswoman Marty Cunningham says the incident Sunday began when police received a call of shots being fired from a car in the nearby town of Greenville, about 50 miles northeast of Dallas.

Cunningham says the suspect exchanged gunfire with Commerce police just outside the city limits before driving to the Walmart.

Cunningham says the suspect entered the store carrying "a long gun and a pistol." She says an off-duty officer from another agency followed the suspect out of the store, where the suspect was killed. The officer was taken to a hospital with unknown injuries.