Former President Donald Trump is expected to appeal the ruling and it is likely to eventually reach the U.S. Supreme Court.