The lengthy hearing, which drew dozens of speakers on both sides of the most divisive social issue the General Assembly will take up this year, was headlined by Attorney General Douglas F. Gansler (D), who became Maryland's first elected statewide official to endorse legislation allowing same-sex marriage.