WASHINGTON (Reuters) - U.S. President Donald Trump took credit on Tuesday for a record year of safety for commercial aviation in 2017, swiftly drawing criticism and derision from commentators who said the achievement reflected trends predating his administration.

U.S. President Donald Trump arrives to board Air Force One to return to Washington at the conclusion on their holiday vacation, from Palm Beach International Airport in West Palm Beach, Florida, U.S. January 1, 2018. REUTERS/Jonathan Ernst

“Since taking office I have been very strict on Commercial Aviation. Good news - it was just reported that there were Zero deaths in 2017, the best and safest year on record!” Trump tweeted on Tuesday.

Two safety groups reported on Monday that worldwide there were no fatal passenger jet crashes in 2017, the safest year on record.

Current and former aviation safety officials said Trump was not responsible for last year’s unblemished commercial passenger jet safety record, citing years-long improvements in safety and the fact that no U.S. passenger airliner has had a fatal crash since 2009.

Aviation Safety Network President Harro Ranter, whose group tracks aviation incidents, said in an email: “It’s impossible to link the worldwide level of safety directly to recent U.S. policy changes.

“U.S. efforts have been instrumental to get to where we are today, but it takes years for policy changes to reach effect, and only in conjunction with other efforts by the aviation industry,” Ranter said.

Trump has been frequently criticized for taking credit for developments that could not be directly attributed to his administration.

White House spokeswoman Sarah Sanders did not answer directly when asked at a briefing if Trump’s White House predecessor, Barack Obama, also deserved credit for the long stretch without a U.S. commercial passenger jet crash.

Trump, who took office in January 2017, discussed aviation on only a couple of occasions last year. In remarks to airline executives in February, he did not raise safety but criticized the “regulatory morass” affecting the industry.

Sanders said Trump “has raised the bar for our nation’s aviation safety and security,” citing his proposal to privatize air traffic control, which has not been approved, and the Homeland Security Department’s enhanced security measures.

In March, the United States imposed restrictions on passengers carrying laptops in cabins on nine primarily Middle Eastern airlines to address the potential threat of hidden explosives. It lifted the restrictions in July after announcing new security requirements.

In a tongue-in-cheek thank you to Trump, actor Bryan Cranston, who starred in TV’s “Breaking Bad,’ tweeted: “Your active participation monitoring the flight patterns and safety regulations was greatly appreciated. In 2018 could you please turn your efforts toward preventing wildfires and hurricanes?”