LOS ANGELES (AP) — Police have shot and killed a man they say carjacked someone at a Hollywood fast-food restaurant and then charged police with a machete.

Lt. Chris Ramirez says the man had robbed an auto parts store around 11:30 a.m. Monday before walking to the restaurant’s drive-thu and carjacking a patron.

A video obtained by KABC-TV shows the man driving away from officers who surrounded the car, then hitting two police cruisers and running off.

A different video aired by KABC-TV shows the man turning and chasing an officer while brandishing a foot-long machete.

The officer runs into the street and falls to the ground. The man stands over him with the raised machete before he is shot.

He was pronounced dead at a hospital. An officer suffered minor scrapes and bruises.