BOSTON (WHDH) - A recent study ranked public transportation in Boston as the second-best in the country despite recent issues with the Massachusetts Bay Transportation Authority.

WalletHub compared 100 cities across 17 key metrics, ranging from commuters who use public transit to peak hours spent in congestion, in order to find out which places offer the smoothest rides.

Boston had the second-highest ranking when it came to accessibility and convenience, as well as the 10th-highest ranking for public transit resources.

Bean Town ranked lowest in the safety and reliability category, coming in 34th.

The only other city to beat out Boston for the best overall public transportation was Seattle, Washington.

This ranking may surprise commuters who utilize MBTA services given the several derailments that occurred in the Boston area over the summer.

“I think it’s wrong,” commuter Hussein Salem said. “It’s the worst, it’s so bad. It is like 10, 20 minutes every day.”

However, not everyone is a critic. Emma Lore takes the T everyday and she said she thinks the study nailed it.

“I’m crazy about it. Like, I am crazy about the T,” Lore said. “The T is the lifeline of Boston.”

Officials plan to close sections of the the Red, Orange and Green lines on the weekends beginning in October to allow for improvements to the T service.

(Copyright (c) 2020 Sunbeam Television. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)