I do believe it was quite a bit more complicated than you imply...<quoted text>I disagree, a popular vote was taken in California, and a judge rewrote marriage law. Maryland is one of the very few cases of popular referendum in support of legislated same sex marriage law. Without a legislated model, I doubt the electorate would have agreed to same sex marriage.
March 2000 California voters voted for prop 22 (61.4% to 38.2%), a law essentially identical to prop 8 that came later.
Prop 22 was ruled as unconstitutional by the California State Supreme Court in May of 2008.
Prop 8 (essentially the same as prop 22) passed as a constitutional amendment (52.24% to 47.76%) in Nov 2008.
Judge Walker overturned the law August 2010. A stay has held up any marriages for same sex couples though.
The United States Court of Appeals for the Ninth Circuit affirmed Walker's decision and continued the stay Feb 2012.
It now awaits the US Supreme Court for final decision.
This is hardly the action of a single out of control judge. It also isn't the re-writing of anything by one judge.