A Mexican journalist was attacked in Mexico on New Year’s Day continuing a trend from 2022 that resulted in the deadliest year for journalists in the country in decades.

The media site La Nota Prensa De Sonora said its director, Omar Castro, was attacked but unharmed on a street in the city of Ciudad Obregon.

Castro was traveling with his daughter and a nephew when bullets were fired at his sports utility vehicle. The SUV had a La Nota Prensa De Sonora sign on it.

The site reported the attacker shouted, "I’m going to kill you!" It also posted photos of the bullet-scarred vehicle.

MEXICAN AUTHORITIES FIND 4 HUMAN SKULLS IN PACKAGE BOUND FOR US

Mexican President Obrador speaks on stage

Mexican President Andres Manuel Lopez Obrador speaks during a ceremony to commemorate in Mexico City's main square the Zocalo (AP)

La Nota Prensa De Sonora reports mainly on local politics, as well as entertainment and other news.

Sunday’s attack, on the first day of 2023, came after Mexico suffered its worst year of killings of journalists in three decades, with at least 15 slayings.

MEXICO PRISON BREAK: SHOOTOUT LEAVES 7 DEAD AS AUTHORITIES HUNT INMATES WHO ESCAPED NEAR TEXAS BORDER

A man carrying a sign saying "No more blood of journalists" during a protest to demand justice in the Regina Martinez case, a journalist killed a year ago, and an end to more recent attacks on the press in Veracruz, Mexico, Sunday April 28, 2013. Journalists in several states organized a demonstration on Sunday to mark the first anniversary of the murder of Regina Martinez, a correspondent of the magazine Proceso. Attacks have become so common that many Mexican news media have announced they will no longer cover stories related to drug cartels.The issue has become so serious that Mexico's congress passed a bill this month that would allow journalists to request that federal prosecutors and federal judges investigate attacks on them, and would make federal intervention mandatory in some cases. It has been sent to the president for his signature.(AP Photo/Felix Marquez)

A man carrying a sign saying "No more blood of journalists" during a protest to demand justice in the Regina Martinez case (AP Images)

The attack on Castro comes weeks after Mexican journalist Ciro Gomez Leyva was shot by gunmen on a Mexico City street. Leyva survived the attack.

Some journalists have placed blame at the feet of President Andres Manuel López Obrador who has been an outspoken critic of journalists, including Leyva, since taking office in 2018.

CLICK HERE TO GET THE FOX NEWS APP 

Mexican President Andres Manuel Lopez Obrador

Mexican President Andrés Manuel López Obrador listens as he meets with President Biden in the Oval Office of the White House in Washington, Tuesday, July 12, 2022.  ((AP Photo/Susan Walsh))

"Practically all the expressions of hate toward journalists are incubated, born and spread in the National Palace," a letter signed by 180 journalists stated after the attack on Leyva. "If President López Obrador does not control his impulses of anger toward critical journalists, the country will enter an even bloodier stage."

President Biden is scheduled to travel to Mexico City on Jan. 9 for a two-day trip meeting with leaders of Mexico and Canada.

The White House did not immediately respond to a request for comment from Fox News Digital whether violence against journalists will be on the agenda.