A California city official was robbed and killed a day before his birthday while vacationing at a resort in southern Mexico, reports said.

Doug Bradley, who would’ve turned 50 last Friday, was on Christmas vacation when a group of men tried to rob him, and then shot him dead with a 9mm handgun during a chase, the San Diego Union-Tribune reported.

Bradley had been an administrative services director for Imperial Beach outside San Diego since 2013 and he oversaw the city budget and other fiscal functions, the town’s mayor, Serge Dedina, confirmed to the outlet.

Dedina said Bradley was shot during a robbery, and witnesses told local Mexican media he was seen being chased by gunmen around 4 a.m. last Thursday in the Ixtapa hotel zone within the state of Guerrero.

The state where Ixtapa is located is one of Mexico’s most violent, with a homicide rate of 58.6 per 100,000 people, according to Fox News.

Bradley’s former boss described him as a “world-traveling surfer” and a “wonderful person.”

“He was brilliant at his job. He was always positive,” Dedina said.

“You couldn’t have asked for a better person to work with.”

Bradley, who was unmarried and without children, helped “turn around” Imperial Beach’s financial management, Dedina said. He also helped restructure city administration “to make it more efficient and resident friendly,” the mayor said.

He added the city was working with the US Embassy in Mexico City and the US Consulate General in Tijuana to bring Bradley’s body home to the US.

With Post wires