In a political about-face, U.S. Sen. Elizabeth Warren finally welcomed General Electric last night, despite railing against the company in her 2012 campaign and slamming GE in a speech decrying “tax-dodgers” as recently as three months ago.

“Boston is a great fit for GE,” Warren said in a statement issued yesterday evening after an inquiry from the Herald.

“Our innovation economy leads the nation, and GE already has long benefitted from a dedicated workforce in Lynn and throughout the Commonwealth,” the Cambridge Democrat said. “I’m glad that the company will be able to draw on the tremendous resources in the Greater Boston area as it continues to grow.”

The hearty embrace is an abrupt turnaround for the liberal darling, who singled out GE in an early campaign ad for paying “nothing — zero — in taxes, while kids are left drowning in debt to get an education.”

GE has disputed the zero tax claim, which was initially raised in a 2011 New York Times article, saying that while its tax returns are not public documents, the company does pay federal, state and local taxes, which in 2010 amounted to $1 billion.

Warren repeated the charge in a speech last November — while Mayor Martin J. Walsh and Gov. Charlie Baker were quietly wooing the corporate giant to relocate its headquarters to the city.

“For example, over a five-year period Boeing, General Electric and Verizon paid nothing in net federal income taxes,” said Warren in a fiery Washington, D.C. speech at the ?National Press Club on Nov. 18.

“That’s across a five-year period. These three Fortune 500 companies reported nearly $80 billion in combined profits and actually got tax rebates from the federal government.”

Warren later lambasted some Capitol Hill tax overhauls for companies like GE and Microsoft and labeled them, “a giant wet kiss for the tax-dodgers.”

Despite her disdain for corporate tax breaks, Warren didn’t mention the many state and city tax breaks and incentives used to lure GE, including $120 million in state grants and programs. Boston will give up $25 million in property tax relief, $1 million in workforce training grants and up to $5 million for an innovation center to connect GE to the state’s research institutions and higher education community.

Walsh and Baker worked for more than a year to lure the corporate giant to the city, beating out New York and other cities to secure 800 high-paying jobs on top of the prestige of having a major global corporation based here — and whatever business that presence may draw.

Further complicating her love-hate relationship with GE, Warren revealed another surprising connection to the corporate giant just last year, when she detailed several high-balance savings accounts she has with GE’s financial services unit worth between $300,000 and $600,000, according to her Senate financial disclosure form.