Two groups of cruise ship passengers will finally get to go home — or at least get off the boat.

Two Holland America Line ships, the Zaandam and a sister ship sent to help it, the Rotterdam, with dozens of sick passengers on board off Florida’s coast have received a conditional approval to enter U.S. waters and dock at Fort Lauderdale’s Port Everglades. The Zaandam, with over 300 Americans and 1,000 foreigners, has not seen a port in three weeks.

Cars, buses and planes will be lined up to take the healthiest passengers, about 1,200 to their homes, where they are to begin a 14-day self quarantine. Those who are mildly sick would stay on board until they recovered, or taken to a hospital in Fort Lauderdale. Four passengers have died.

It took a conditional agreement between Broward County officials and Carnival Cruise Line, which owns the Zaandam and the Rotterdam.