HICKSVILLE, N.Y. (CBSNewYork/AP) — A group of sophisticated burglars used tools to penetrate a vault of a Long Island armored car company and steal $1.8 million, but were foiled by an alert police officer.

The burglary at the Loomis Armored Inc. warehouse in Hicksville occurred around 10:30 p.m. on Aug. 16.

READ MORE: Attorney Says Current Whereabouts Of Brian Laundrie, Gabby Petito's Fiancé, Are Unknown

The men, who wore masks, used a sledgehammer and a hydraulic jack to bust through thick concrete walls and used other tools to break into the vault that held about $20 million, authorities said.

“This was a very brazen and sophisticated burglary,” said Madeline Singas, Nassau County’s acting district attorney.

An officer on patrol that night arrested one of the suspects after observing him acting suspiciously with the trunk of his Volkswagen Jetta open in the parking lot. The cop then chased the man, arrested him and found the cash in his trunk, authorities said.

“It’s a lot of money. It’s probably one of the biggest heists in Nassau history,” Singas told 1010 WINS.

READ MORE: Teen Stabbed To Death After Dutchess County High School Football Game, Former Student Charged

Edgar Medina, 53, of Brentwood, was charged with burglary, grand larceny and possession of burglar tools. His lawyer couldn’t immediately be reached for comment.

Surveillance video shows three people with flashlights leaving the building’s parking lot. Police believe there were two more suspects in a getaway vehicle, CBS2’s Dave Carlin reported.

Three men are seen on surveillance video following the Aug. 16 burglary of Loomis Armored Inc. in Hicksville, N.Y.

Three men are seen on surveillance video following the Aug. 16 burglary of Loomis Armored Inc. in Hicksville, N.Y.

Nassau County police are offering a $25,000 reward for any information leading to the arrests of the four accomplices.

Police called Medina a career criminal with 10 prior arrests, including for weapons possession.

“Good thing the police were around doing the job and got the work done. That’s good,” said Steve Mun, who manages a manufacturing business across the street from the Loomis building.

MORE NEWS: Caught On Video: Carmine's Hostess Attacked After Asking Tourists For Proof Of Vaccination

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)