ST. PAUL (AP) -- Minnesota Rep. Keith Ellison, the first Muslim elected to Congress, has filed papers to run for Minnesota attorney general.

Ellison, also the deputy chairman of the Democratic National Committee, filed Tuesday just hours ahead of a deadline. Ellison will keep his post with the national party.

Ellison is in his sixth term representing a reliably Democratic Minneapolis-area seat. But he was lured into Minnesota's attorney general race after the incumbent, Lori Swanson, jumped into the governor's race on Monday.

Ellison says it was attorneys general who led the fight against President Donald Trump's ban on travelers from mostly Muslim countries. He says he wants to be part of that fight.