By CBSLA Staff

BURBANK (CBSLA) — A man police say was armed with a gun was shot and killed Monday by Burbank officers.

(credit: Tina Patel/CBS)

The shooting happened just before 5 a.m. in the parking lot of the Quality Inn Burbank Airport, 2255 N. Buena Vista Street. Police had been called to check on the welfare of a child who was seen wandering the parking lot.

READ MORE: Private Ojai School Voluntarily Reveals 40 Years Of Sexual Faculty Misconduct, Cover Ups In New Report

Officers arrived and found the child and determined the boy to be safe. But during the investigation, the officers came into contact with a man who was sitting inside a car in the hotel’s parking lot, police said.

“At some point during this interaction, an officer-involved shooting occurred,” Burbank police said in a statement.

READ MORE: Hundreds Wanted To Help Care For Migrant Children Housed At Pomona Fairplex

The man was taken to a hospital, where he died. His name has not been released, pending notification of his family.

A loaded handgun was recovered at the scene, according to Burbank police.

MORE NEWS: Cal ISO Issues Flex Alert For Thursday Due To Heat Wave

The relationship between the child who was reported and the man who was shot was not known, but police said the child was placed with children’s services.