The Annapolis City Council heard testimony Monday night on proposed legislation that would ban new drive-thru windows in the city.

If enacted, the legislation would affect fast-food restaurants, banks and pharmacies.

Alderman Rob Savidge, a Democrat represent Ward 7, wrote the bill following a trip to the Netherlands last year to study resilience infrastructure, flood defenses and alternative transportation methods. Savidge was among several Annapolis officials on the trip, including the legislation’s co-sponsors, Alderman Brooks Schandelmeier, a Democrat from Ward 5, and Mayor Gavin Buckley, also a Democrat.

Drive-thrus “wreck” walkable cities, Schandelmeier said in April. The legislation tries to address one of the goals of Annapolis Ahead 2040 — which lays out the future use of land, water and other natural resources in the city — for more “pedestrian-focused” development. Savidge said drive-thrus do not “mesh” with that goal in April.

Democratic council members Ross Arnett, representing Ward 8, and Harry Huntley, representing Ward 1, support the legislation. Huntley was sworn in Monday night, as the council returned from its August recess, to finish the remaining 14 months of outgoing Alderwoman Elly Tierney’s term. Tierney retired from politics and moved to Massachusetts.

“The purpose of the legislation is to change our development policies to be less auto centric and I support that entirely,” Arnett said Monday.

Efe Brock, a Ward 6 resident, spoke in favor of the legislation, saying that as someone who “frequently tries to not use their car when I don’t have to, I believe the intent of this ordinance is extremely, extremely well put.”

“The future of the city that I chose to try and live in and plan on living in is one that I think aligns with the goals of this ordinance, which is a more vulnerable and less car-dependent city planning. I don’t know how it would get to be at that point until you start passing legislation and putting your resources towards that goal,” he said.

The legislation has drawn opposition from Rhonda Pindell-Charles, a Democrat from Ward 3, who said in April that she is worried about how it would affect businesses and older residents. Council members Shelia Finlayson, representing Ward 4, and Karma O’Neill, representing Ward 2 — both Democrats — also oppose the legislation.

Alderman DaJuan Gay, a Democrat representing Ward 6, said that he does not support the legislation “as it currently stands” because he wants to exempt banks and pharmacies.

“Can we protect the most essential uses to the general public, which are, medicine, health, safety, and then, obviously, financial resources?” Gay said Monday.

Marilyn Coolidge, a Ward 7 resident who lives in a retirement community, said she’s concerned about the ban’s impact on older people and those with mobility challenges.

“Drive-thrus are a part of our culture, providing convenience to many who may depend on them,” she said.

The bill must now go through the committee process. Savidge said that the potential for adding amendments to the bill is still being determined.