The speaker of the New York City Council, Melissa Mark-Viverito, agreed to a financial settlement with the city’s Conflicts of Interest Board over free consulting services she improperly accepted from a lobbying group during her 2013 campaign to gain her current position, the board announced on Wednesday.

Ms. Mark-Viverito must now reimburse the lobbyists, the Advance Group, for those services, valued at $3,796.44, and pay a $7,000 fine to the city. Both amounts can be paid with her campaign funds, city officials said.

“This is a positive resolution,” Eric Koch, a spokesman for Ms. Mark-Viverito, said, “and the speaker looks forward to continuing her work creating a more fair and just New York City for all.”

The fine, negotiated by the conflicts board, is well under the $25,000 maximum Ms. Mark-Viverito faced, and it appeared to be less punitive than others that had been levied on public employees in lower stations for lesser offenses. In April, for example, the board levied a $1,000 fine against an office manager in the Brooklyn Forestry Office of the parks department for accepting a $15 bottle of chocolate liqueur from an arborist whose permit applications were processed by the manager.