SANTO DOMINGO, Dominican Republic - Millionaire John McAfee said Wednesday that he was released from detention in the Dominican Republic along with five others.

The Caribbean island’s armed forces and public ministry said earlier in the day that McAfee was taken into custody along with U.S. citizens Elizabeth McAfee and Richard Alan Gibson, Robert Whitfield of Germany, Oral Thompson of The Bahamas and Vasner Louis of Haiti.

They were suspected of travelling on a yacht carrying high-calibre weapons, ammunition and military-style gear, officials said.

McAfee tweeted: “I was well treated. My superiors were friendly and helpful. In spite of the helpful circumstances, we’ve decided to move on. More later.”

McAfee developed early internet security software and has been sought by authorities in the U.S. and Belize in the past.