The presidential candidate Sen. Amy Klobuchar, a Democrat from Minnesota, supports legalizing recreational marijuana at the federal level, she said in a Friday statement.

Support for marijuana legalization has become a more mainstream position among Democrats, with nearly all of the 2020 Democratic presidential contenders speaking out in favor of legalization.

Recreational marijuana use is legal in 10 states and the District of Columbia.

The presidential candidate Sen. Amy Klobuchar, a Democrat from Minnesota, has come out in favor of legalizing recreational marijuana at the federal level.

"I support the legalization of marijuana and believe that states should have the right to determine the best approach to marijuana within their borders," she said in a Friday statement, which was first reported by The Washington Post.

Klobuchar held a D rating from the marijuana advocacy organization NORML, indicating a "hard on drugs stance" while she served as a prosecutor in her home state, but she was later upgraded to a B during her time in the Senate.

While Klobuchar previously supported the STATES Act, which would have prohibited the Department of Justice from cracking down on marijuana in states that have legalized the drug, she did not endorse the Marijuana Justice Act, which would have taken marijuana off the list of Schedule I drugs.

The senator's announcement comes after other major presidential Democratic candidates, including Sen. Kirsten Gillibrand, Rep. Tulsi Gabbard, Sen. Cory Booker, Sen. Elizabeth Warren, Sen. Bernie Sanders, and South Bend, Indiana, Mayor Pete Buttigieg endorsed marijuana legalization.

Sen. Kamala Harris, a former prosecutor who initially didn't support California's 2010 push to legalize marijuana, is also on board with legalization, saying in a recent interview that she used the drug in college.

Read more: Kamala Harris' father said she disgraced her Jamaican family by using a 'fraudulent stereotype' to joke about smoking weed

While Klobuchar is considered one of the more centrist Democrats in the field, support for marijuana legalization has become a mainstream stance among most Democrats — especially those trying to win over young voters.

The question of legalization is also an issue of racial justice for many candidates, who emphasize the persistent racial disparities in marijuana arrests and convictions as a reason to reform federal law.

On the other hand, former New York City Mayor Michael Bloomberg, who is also weighing a 2020 presidential bid, was heavily criticized for recently calling recreational marijuana legalization "perhaps the stupidest thing anybody has ever done."

Recreational marijuana is legal in 10 states and the District of Columbia.