Updated

Officials are investigating how an "emotionally disturbed" man breached security at one of the nation's busiest ports, boarded a ship and was found in the captain's cabin.

Authorities believe Eric Carrero scaled a barbed-wire-topped six-foot security fence at the Port Newark marine terminal in New Jersey Wednesday.

A Port Authority of New York and New Jersey official says Carrero wandered around unchallenged before he boarded the cargo ship and was discovered in the captain's bed about four hours later.

Carrero is undergoing a psychiatric evaluation.

It was the second security breach at a Port Authority facility this month. A man swam to John. F. Kennedy International Airport after his personal watercraft ran out of gas.

Port Newark encompasses 180 acres and handles more than 600,000 shipping containers annually.