PHILADELPHIA (AP) — Philadelphia on Thursday accepted a $10 million grant to help it advance an ambitious election plan to buy counting equipment and spread satellite election offices and secure drop boxes around the city to absorb growing demand for voting by mail in November’s presidential election.

The city’s election board, the Philadelphia City Commissioners, voted to accept the grant from the Chicago-based Center for Tech and Civic Life, whose donors include Facebook and Google.

READ MORE: Only 60% Of City Pools Will Open This Summer As Philadelphia Parks And Recreation Struggle To Find Lifeguards

Accepting the grant comes as President Donald Trump’s campaign is suing to outlaw drop boxes — used in the primary in the heavily Democratic city of Philadelphia and its suburban counties where Trump lost badly in 2016′s election despite prevailing in Pennsylvania.

Half the money, about $5 million, will go to equipment such as inserters, sorters, extractors, and scanners to speed up the counting of mail-in ballots, amid concerns that a presidential election result will hang in limbo for days on a drawn-out vote count in Pennsylvania.

READ MORE: Trauma Support, Other Resources Being Sent To Communities Impacted By Weekend Violence, Mayor Jim Kenney Says

Another $2.2 million will go to open 15 satellite election offices where people can register to vote, apply for a mail-in ballot or drop off their completed ballot.

Another $550,000 will go to installing 15 drop-boxes that are available 24 hours a day at each satellite election office, complete with 24-hour video surveillance.

The city is aiming to open more than 800 fully-staffed polling places, including hazard pay for poll workers, after it consolidated down to 190 polling locations in the primary election.

MORE NEWS: Exclusive: CBS3 Obtains Surveillance Video Of Triple Shooting That Left Toddler Injured, 2 Men Dead In West Philadelphia 

(©Copyright 2020 by The Associated Press. All Rights Reserved.)