MINNEAPOLIS (WCCO) — A controversial mountain biking trail proposed to run through Lone Lake Park in Minnetonka was approved by the Minnetonka City Council early Tuesday morning.

According to the Star Tribune, the vote, which came after midnight, passed 5-2.

READ MORE: Next Weather Alert: T-Storm Warning In Twin Cities Area, Tornado Watch In SE MN

Opponents of the trail say it would compromise habitat for the rusty patched bumblebee, an endangered species. After testimony from dozens of bike enthusiasts and environmentalists, the trail was approved on the condition that the city review its environmental impact annually.

READ MORE: AP Source: Timberwolves In Talks With Denver's Tim Connelly

The decision came about a year after opponents of the trail filed a petition requesting the city assess the trail’s impact on the environment. The city rejected the request, and was subsequently sued by nonprofit Protect Our Minnetonka Parks. The Minnesota Court of Appeals upheld the City Council’s decision.

MORE NEWS: Not Much Drama Expected For Minnesota Democratic Convention

Just last month, the group filed a petition with the Minnesota Supreme Court for review.