BURLINGTON, N.C. — A lion killed a young worker at a wildlife conservatory Sunday after it got loose from a locked space, the center said.

Alexandra Black, 22, of New Palestine, Indiana, was killed after being attacked by the lion in an enclosure that was being cleaned at the Conservators Center, news outlets reported, citing a statement from the Caswell County Sheriff’s Office.

The lion was shot and killed after attempts to tranquilize the animal failed, deputies said.

A "husbandry team" led by a professionally trained animal keeper was carrying out the routine cleaning when the lion somehow got loose, the center said in a statement.

It wasn't clear how the lion escaped the area that was supposed to be locked, said the center, which is closed until further notice.

“This is the worst day of my life. We’ve lost a person. We’ve lost an animal. We have lost the faith in ourselves a little today,” said Mindy Stinner, the executive director of the Conservators Center, according to WTVD-TV.

The family of a 22-year-old woman who was killed by a lion that escaped an enclosure at an animal center says she loved animals and "died following her passion." https://t.co/PzTfUiGpPp pic.twitter.com/apUMXdSLFI — ABC News (@ABC) December 31, 2018

Black had recently graduated from Indiana State University. She had been working at the conservatory for about two weeks, her family said.

"She was a beautiful young woman who had just started her career, there was a terrible accident, and we are mourning," Black's family said in a statement, according to news outlets. "But, she died following her passion."

The center said the lion was fatally shot to allow county personnel to retrieve Black.

The facility was founded in 1999 and is in Burlington, about 50 miles northwest of Raleigh.

On its website, the center said it began giving public tours in 2007 and gets more than 16,000 visitors annually. It has more than a dozen employees and currently houses more than 80 animals and more than 21 species.

The center says it took in 14 lions and tigers in 2004 to assist the U.S. Department of Agriculture with caring for animals that were living in “unacceptable conditions.”