Washington (CNN) A federal judge on Monday dismissed a lawsuit brought by President Donald Trump in his effort to block a subpoena issued by the Manhattan district attorney's office for eight years of Trump's tax returns.