Police in Calgary have arrested and charged two men, and are searching for a third, after shots rang out in a downtown nightclub early Sunday morning.

Officers with the Gang Suppression Team were conducting a regular patrol near Ten X Nightclub at about 1:30 a.m. Sunday, when they heard gunshots ring out. About 300 people were inside the nightclub when the shots were fired, police said.

According to police, three men in a white vehicle pulled up to the club, and one man got out with a gun and started firing from the door.

A 38-year-old man was hit, and was rushed to hospital in stable condition.

The club's general manager, Rhett Brownbridge, credits two bouncers at the club with helping to prevent more injuries. When the shots were fired, they sprang into action and tackled the shooter, he said.

"Their actions prevented any further injuries from occurring," Brownbridge said. "Any of my security in the same situation would've done the same thing."

The police officers on patrol arrived moments later to arrest the gunman. The driver of the white car was also arrested. But a third suspect, who left the car in an attempt to help the shooter escape, fled the scene, police said.

Mohamed Elmi, 31, and Mohamed Salad, 29, face multiple charges including attempted murder, and unauthorized possession of a firearm.

Officers are still looking for the third man who was in the vehicle, but who fled the scene.

Anyone with information about the incident is asked to contact Calgary Police at 403-266-1234 or Crime Stoppers at 1-800-222-8477.

With files from CTV Calgary