The Florida secretary of state is ordering recounts in the U.S. Senate and governor races, an unprecedented review of two major races in the state that took five weeks to decide the 2000 presidential election.

Secretary Ken Detzner issued the order on Saturday after the unofficial results in both races fell within the margin that by law triggers a recount.

The unofficial results show that Republican former U.S. Rep. Ron DeSantis led Democratic Tallahassee Mayor Andrew Gillum by less than 0.5 percentage points, which will require a machine recount of ballots.

In the Senate race, Republican Gov. Rick Scott's lead over Democratic incumbent Bill Nelson is less than 0.25 percentage points, which will require a hand recount of ballots from tabulation machines that couldn't determine which candidate got the vote