Boards of elections in Maryland and an office in a county in California received bomb threats on Friday.