ST. PAUL (AP) — Minnesota Gov. Mark Dayton has signed a bill that legalizes gay marriage, making the state the 12th to do so.

Cheering spectators filled the south lawn of the state Capitol for the outdoor ceremony, with rainbow and American flags fluttering in a sweltering breeze.

Dayton thanked legislators for political courage before signing the bill.

His signature came just a day after the state Senate approved it.

More From AM 1240 WJON