Presidential elections and the law