MBTA General Manager Beverly Scott, who resigned earlier this month, is wrapping up her stint at the T, but not before leaving some of the transit authority’s top management with a parting gift.

5 Investigates pored through the last two years of the MBTA's payroll and discovered that in 2014 Scott handed out hefty raises to seven of her top managers at a cost to the deficit-laden T of $165,000.

Deputy General Manager Sean McCarthy got a raise of almost 33 percent, from $146,000 to $195,000.

The man in charge of the MBTA’s money – Deputy General Manager Jonathan Davis – was given a $38,414 pay hike, from $156,586 to $195,000. That’s a 24.5 percent boost.

Scott's Chief of Staff, Tamara Powell, received an additional $23,124, which amounts to a 25.2 percent raise.

Four other managers got sizeable raises. Chief railroad officer Bradley Kesler received a $17,426 hike, from 107,574 to $125,000.

William McClellan received an $11,764 pay hike, from $111,236 to $123,000.

And Jeffrey Gonneville was given an $11,112 raise, from $121,388 to $132,500.

In light of what's been happening at the T this winter -- suspension of rail service, long delays, and widespread equipment failures -- some are rattled by the raises.

"The whole thing should be a huge embarrassment to the T on top of the embarrassment it's already suffering," said David Tuerck, head of the Beacon Hill Institute, a government watchdog group. Tuerck is also a T commuter

"It's embarrassing that these lavish raises were given out when we could use some money just to salt the tracks and get the trains to run on time," he said.

5 Investigates also brought the raises to T commuters. Anas Kmail rides the rails every day.

"It's been horrible,” said Kmail. “A distance that usually takes about 10 minutes is taking like an hour and a half, and I've been coming late to classes every single day because of that.”

Scott, who will be leaving as general manager of the MBTA in April, declined 5 Investigates request for an interview.

Her spokesman sent a statement, which says in part: "The salaries of these senior managers are comparable to the wages paid to their counterparts at similar sized public transportation systems in the U.S."

The statement went on to say that Scott has "built a strong team" and that she "has the right people in the right jobs, and she wants to keep it that way."

Said Tuerck: “It's an indication that nobody was watching the store and somebody, in particular the head of the agency, was handing out lavish raises to people that appear to be favorites of hers for no justifiable reason that I can imagine.”