Captain Daniel Dusek, 49, the highest-ranking officer was sentenced to 46 months in prison for his role in a massive navy bribery scandal

A top US Navy officer was sentenced to 46 months in prison on Friday for giving classified information to a Malaysian contractor in exchange for prostitutes and lavish gifts.

Captain Daniel Dusek, 49, the highest-ranking officer charged in a massive navy bribery scandal, was also ordered to pay a $70,000 fine and $30,000 in restitution to the navy.

'It's truly unimaginable to the court that someone in your position with the United States Navy would sell out based on what was provided to you – hotel rooms, entertainment and the services of prostitutes,' US District Judge Janis Sammartino said during the sentencing in San Diego, California.

Sammartino added that Dusek's actions could have 'potentially jeopardized national security'.

Dusek, who pleaded guilty in January 2015 to conspiracy to commit bribery, was among several current and former naval officers charged in the scandal that involved tens of millions of dollars in bribes.

He's one of 10 defendants charged so far in the case, perhaps the biggest corruption scandal in the Navy’s history, according to The Washington Post.

At one point Dusek served as deputy director of operations for the US 7th Fleet.

The man at the center of the scandal, contractor Leonard Francis, also pleaded guilty in the case last year, admitting that his Singapore-based company -- Glenn Defense Marine Asia (GDMA).

The company, which provided port services, plied Dusek and others with meals, alcohol, luxury hotel stays and other gifts to ensure US Navy ships stopped at ports where GDMA operated.

According to Dusek’s plea agreement, he hand-delivered Navy ship schedules to the GDMA office in Japan or emailed them directly to Francis or a GDMA employee on dozens of occasions, each time taking steps to avoid detection by law enforcement or U.S. Navy personnel.

In one instance, Dusek arranged for an aircraft carrier -- the USS Abraham Lincoln -- to stop at Port Klang, Malaysia, a port terminal owned by Francis, the charge sheet said.

Dusek (left) gave classified information to a Malaysian contractor in exchange for prostitutes and lavish gifts

Dusek (center right), who pleaded guilty in January 2015 to conspiracy to commit bribery, was among 10 defendants charged so far in the scandal that involved tens of millions of dollars in bribes

The 2010 port visit cost the United States about $1.6 million, officials said.

'Captain Dusek's betrayal is the most distressing because the navy placed so much trust, power and authority in his hands,' said US Attorney Laura Duffy.

'This is a fitting sentence for a man who was so valuable that his conspirators labeled him their "golden asset.'''

As part of his guilty plea, Francis admitted he bilked the US military out of tens of millions of dollars by routinely overbilling for fuel, tugboat services and sewage disposal.