The Washington, D.C. city council voted Tuesday to allow Bernie Sanders' name on the district's Democratic primary ballot.

The emergency legislation was put forth after Sanders' registration paperwork was submitted a day late. Front-runner Hillary Clinton filed on time.

Sanders had filed a challenge to get his name on the June primary ballot.

D.C. Mayor Muriel Bowser, who has endorsed Clinton, said she will sign the legislation to put Sanders' name on the ballot.

D.C.'s June 14 primary awards 46 total delegates.