AUGUSTA, Maine — Maine's governor, Janet Mills, put her support behind a bill to ban so-called gay conversion therapy for minors, signing it into law Wednesday.  

The bill, LD 1025, advanced in Maine's House and Senate in early May and has held bipartisan support before it reached Gov. Mills for her signature on May 29.

Several lawmakers turned up for the signing of the bill into law Wednesday morning. Conversion therapy has been viewed by many mental health professionals as unethical and ineffective.  

RELATED: Governor says she'll sign Maine 'conversion therapy' ban

Maine joins 16 other states that have banned the practice, which aims to change a person's sexual orientation or gender identity.

In a tweet, Governor Mills said,

 "Today I signed into law a bill banning conversion therapy, a widely-discredited practice that has no place in Maine. Today, we send an unequivocal message to young LGBTQ people: we stand with you, we support you, and we will always defend your right to be who you are."