An armed man was shot by Louisville police and later died after a nearly three-hour standoff at a National City Bank branch Monday morning.

The man, believed to be in his 40s, was shot by a SWAT team after walking out of the building just before noon EDT and later died, police spokeswoman Alicia Smiley said. The gunman briefly held four bank employees hostage inside but had earlier released them unharmed.

"He came out of the bank still holding his weapon and ran at our SWAT team in a slow jog. SWAT then fired upon him," Smiley said.

After the standoff ended, Police Chief Robert White said the incident apparently was not a robbery attempt at the suburban bank.

"At this point we don't believe it was an actual bank robbery," White said. "We're not sure if it was domestic related or if there were some other issues."

The gunman was transported to University Hospital, Smiley said. His condition was not immediately known.

The entire team was placed on administrative leave while the matter is investigated, White said.

Smiley said the man entered the bank a little after 9 a.m. EDT armed with a "long weapon."

A police robot entered the bank around 11 a.m. EDT and gave the gunman food. Surrounding streets were closed during the standoff.

National City spokeswoman Kristen Baird Adams referred questions to police.

"Our primary concern is the safety of our customers and employees and we're cooperating fully with police," she said from the bank's headquarters in Cleveland. "We're just forwarding any questions about what's unfolding to the police. They're handling the situation."

It was the second time this month that a shooting happened at a Louisville bank on a Monday morning.

Two men robbed a Chase bank branch in south Louisville on Aug. 6. The suspects shot and wounded two employees before fleeing with an undetermined amount of money.

No arrests have been made in the case, but police have said they are looking at a "possible connection" between that robbery and a double homicide five days later in Lexington.