The LGBT vote was a key factor in President Barack Obama’s victory on Tuesday, according to an analysis by UCLA’s Williams Institute:

In a contest of razor-thin margins, the 4.5 million votes cast by the LGBT population was a critical component of the president’s winning coalition. …

“In this close election, data suggest that the overwhelming LGBT support for President Obama constitutes a key factor in his victory,” said Williams Institute Distinguished Scholar Gary J. Gates.

It’s an outcome that Gates predicted in a Gallup Special Report last month:

A new Gallup Report finds that 71% of LGBT Americans who are registered voters support President Obama for reelection, while 22% support Governor Mitt Romney. From June to September, non-LGBT registered voters preferred Romney to Obama by one percentage point, 47% to 46%. However, when LGBT voters are added to electorate, Obama moves slightly ahead of Romney (47% to 45%).  These findings suggest that the highly Democratic vote of the LGBT population could be enough to swing a very close election toward Obama.