Scroll down for video.
WASHINGTON -- Law enforcement officials say the suspect in the Las Vegas shooting at a federal building was upset over losing a lawsuit over his Social Security benefits.
The two officials, speaking on condition of anonymity because they were not authorized to discuss the case, say Johnny Lee Wicks is the man who opened fire at a security checkpoint Monday morning and was shot dead in a gunfight with deputy U.S. marshals.
While the investigation is still under way, the officials say the early evidence points to the man's anger over his benefits case as the motive for the shooting.
Court records show Wicks had sued the Social Security Administration in 2008, but the case was thrown out and formally closed in September 2009.
LAS VEGAS (AP) - A gunman opened fire in the lobby of a federal building in downtown Las Vegas on Monday, killing one court officer and wounding a second before he was shot to death.
The gunfire erupted moments after 8 a.m. at the start of the work week and lasted for several minutes. Shots echoed around tall buildings in the area, more than a mile north of the Las Vegas Strip. An Associated Press reporter on the eighth floor of a high-rise building within sight of the building heard more than 20 shots during the sustained barrage of gunfire.
The U.S. Marshals Service says the victims included a deputy U.S. marshal and a court security officer. The 48-year-old deputy marshal was hospitalized, and the 65-year-old security officer died.
FBI Special Agent Joseph Dickey said the gunman died across the street shortly after the shootout. The man's identity and motive were not immediately known.
Authorities believe the shooter acted alone, Chief Deputy U.S. Marshal Roxanna Lea Irwin said.
The building was evacuated, police and news helicopters circled overhead, and Las Vegas police cordoned off the area for several blocks. A 16-story state and local courthouse two blocks away was locked down as a precaution.
After police arrived, paramedics wheeled at least two people out and down a ramp to ambulances.
Dickey called the building evacuation "standard procedure" in such an incident, and said it was "for the safety of everybody in the place."
Las Vegas police spokeswoman Barbara Morgan said the shooter had been shot in the head.
"It looks like he went in there and just started unloading," Morgan said.
The Lloyd D. George U.S. Courthouse and Federal Building is named for a longtime senior federal judge who still hears cases. It has federal courts and offices for federal officials including U.S. Sens. Harry Reid and John Ensign. Neither were in the building at the time, authorities said.
Irwin said she saw shotgun casings on the floor of the federal building lobby.
Associated Press Writers Oskar Garcia in Las Vegas and Devlin Barrett in Washington contributed to this report.