Two U.S. Navy sailors who were found dead in a hotel room in the West African nation of Ghana on New Year's Eve have been identified.

A statement released by the Navy identified them as Patrick Mack, 22, of Warren, Michigan and Lonnie Davis Jr., 35, of Riverdale, Georgia.

They died of "unknown causes while on liberty," the statement said. "The exact causes of the deaths for both sailors is currently under investigation."

Both men were assigned to the USS Fort McHenry, which is on a seven-month voyage through the Gulf of Guinea aimed at training local law enforcement on maritime security.

An official at the Tema Naval Base, who asked not to be named because he is not authorized to speak to the media, said their bodies were found at the La Palm Royal Beach Hotel, a luxury hotel in Accra, the Ghanaian capital, located 18 miles (30 kilometers) from the base.