Judge makes historic decision on same-sex marriage