Man Who Allegedly Opened Fire on 3 People Told Bartender He Was Looking for Place to Hide: Cops

Cops say Adam Purinton killed a man at a bar in Olathe, Kan.

The Kansas man accused of opening fire in a bar while telling victims "get out of my country" was arrested with the help of an Applebee's employee, authorities said.

In a 911 call made during the hunt for 51-year-old Adam Purinton, a bartender at a Missouri Applebee's reported that a man confessed to a crime that occurred miles away in Kansas.

Read: South Carolina PhD Graduate Banned From Returning Home After Visiting Family in Iran

At about 11:35 p.m., the bartender called Henry County 911 and told a dispatcher that a man at the bar told her he had done "something bad and he’s on the run from the police for shooting two people in Olathe."

Hours earlier, two engineers for the Garmin technology company, as well as a third bystander who tried to intervene, had been shot while sitting at a bar.

Police in Missouri say the arrest came thanks to the 911 call.

Witnesses told police that the shooter said "get out of my country" before firing on two men who were born in India, 32-year-old Srinivas Kuchibhotla and Alok Madasani, also 32.

Kuchibhotla was killed in the Wednesday night shooting. 

A third patron, 24-year-old Ian Grillot, was also wounded in the shooting after he reportedly tried to step in to help.

In a video released by the University of Kansas Health System, Grillot spoke out about the shocking attack.

"It wasn’t right, and I didn’t want the gentleman to potentially go after somebody else," the 24-year-old said.

A manhunt was launched for Purinton following the shooting. He was arrested about five hours later after cops say he told the Applebee's restaurant bartender in Clinton, Missouri, that he'd been involved in a shooting 70 miles away.

Read: Man Charged in Shooting That Targeted Foreigners: 'Get Out of My Country'

"He like made me promise not to call the police but there’s people in the building and I’m afraid he’s going to freak out if he’s sees the cops," the bartender told dispatchers. 

Purinton was arrested in Missouri and extradited to Johnson County, Kansas, on Friday. He is being held on a $2 million bond and scheduled to appear in court Monday on premeditated first-degree murder and two counts of attempted premeditated first-degree murder.

Watch: Undocumented Mother of 4 Fearing Deportation Moves Into Church