People hold their hands to their heads as they are escorted out of the building where a deadly shooting rampage occurred at the Washington Navy Yard in Washington, Monday, Sept. 16, 2013. One shooter was killed, but police said they were looking for two other possible gunmen wearing military-style uniforms. (AP Photo/Jacquelyn Martin)

WASHINGTON (AP) — Federal law enforcement officials say the man accused in a shooting rampage at the Washington Navy Yard that left at least 12 people dead has been identified as Aaron Alexis.

The two officials spoke Monday to The Associated Press on condition of anonymity because they were not authorized to speak publicly.

One of those officials says Alexis was a 34-year-old from Texas. He is believed to have a criminal record there and to be a holder of a concealed carry weapon permit.

That official says Alexis is believed to have gotten into the Navy Yard by using someone else's identification card. It is not yet clear if that individual was an accomplice or if that person's ID card was stolen.

More images from this article

A U.S. Park Police helicopter removes a man in a basket from the Washington Navy Yard Monday, Sept. 16, 2013. Earlier in the day, the U.S. Navy said it was searching for an active shooter at the Naval Sea Systems Command headquarters, where about 3,000 people work. The exact number of people killed and the conditions of those wounded was not immediately known. (AP Photo/Jacquelyn Martin)

A U.S. Park Police helicopter removes a man in a basket from the Washington Navy Yard Monday, Sept. 16, 2013. Earlier in the day, the U.S. Navy said it was searching for an active shooter at the Naval Sea Systems Command headquarters, where about 3,000 people work. The exact number of people killed and the conditions of those wounded was not immediately known. (AP Photo/Jacquelyn Martin)

Police work the scene on M Street, SE in Washington near the Washington Navy Yard on Monday, Sept. 16, 2013. The U.S. Navy says one person is injured after a shooting at a Navy building in Washington. Police and emergency crews gathered Monday morning outside the Naval Sea Systems Command Headquarters building, where the shooting was reported. (AP Photo/Jacquelyn Martin)

Police work the scene on M Street, SE in Washington, where a gunman was reported at the Washington Navy Yard in Washington, on Monday, Sept. 16, 2013. The U.S. Navy says one person is injured after a shooting at a Navy building in Washington. (AP Photo/Jacquelyn Martin)

Police work the scene on M Street S.E. in Washington, where a gunman was reported in a military building at the Washington Navy Yard Monday, Sept. 16, 2013. Shots have been fired and employees directed to a shelter. Police and federal agents from multiple law enforcement agencies responded to the scene and streets in the area were closed. (AP Photo/Jacquelyn Martin)

A U.S. Park Police helicopter removes a man in a basket from the Washington Navy Yard Monday, Sept. 16, 2013. Earlier in the day, the U.S. Navy said it was searching for an active shooter at the Naval Sea Systems Command headquarters, where about 3,000 people work. The exact number of people killed and the conditions of those wounded was not immediately known. (AP Photo/Jacquelyn Martin)

A U.S. Park Police helicopter circles the Washington Navy Yard Monday, Sept. 16, 2013, after a gunman was reported at the Navy Yard. Earlier in the day, the U.S. Navy said it was searching for an active shooter at the Naval Sea Systems Command headquarters, where about 3,000 people work. The exact number of people killed and the conditions of those wounded was not immediately known. (AP Photo/Jacquelyn Martin)

A U.S. Park Police helicopter flies over a building at the Washington Navy Yard in Washington, Monday, Sept. 16, 2013. At least one gunman opened fire inside a building at the Washington Navy Yard on Monday morning, (AP Photo/Susan Walsh)