HOUSTON -

President Barack Obama returned to Washington D.C. Tuesday night after a successful swing through Texas to raise money for his re-election campaign.

The president attended two events in San Antonio and two events in Austin.

The San Antonio fundraiser focused on Latino voter outreach and featured special guest, actress Eva Longoria.

In Austin the focus was on gay  voters and featured special guest, Houston Mayor Annise Parker, who co-hosted the reception.

"It's great to be back in Texas," President Obama told the crowd at the Austin Music Hall. "It's great to be back in Austin, Texas."

Campaign sources said the president's campaign was expected to raise $5 million, setting a new fundraising record for his campaign in Texas.

Air Force One landed at San Antonio International Airport at 11:15 a.m. Tuesday. The president was greeted by Mayor Julian Castro and his brother, Texas Congressman Joaquin Castro, when he stepped off the plane.

Houston Mayor Annise Parker co-hosted one of the Austin fundraisers. The invitation for the reception stated that it was sponsored by the Obama Victory Fund and the Lesbian, Gay, Bisexual and Transgender Leadership Council, along with Parker. Country music legend Jerry Jeff Walker performed.

"That was his crowd," Parker said after the event. "He was able to connect with us. I think he re-energized those of us who supported him four years ago, those of us who have been struggling through the economy with him. We're ready to go."

About 1,000 people paid a minimum of $250 to see the president.

"We have millions of small donors," supporter Ann Oriadha said. "It's about the people, and that's how we will win the election."

"He stands for everything the working people stand for," supporter Ann Pannell said. "That's why we're here."

Obama's message to the crowds has focused on hammering Republican candidate Mitt Romney to release his income tax returns and talk about his time at Bain Capitol.

The president also attended a second campaign event in Austin at the home of a former Dell Computer executive.

President Obama's campaign swing could surpass his previous single-day Texas record, according to an article published in the Washington Post.

Meanwhile, Texas Gov. Rick Perry has released a statement ahead of President Obama's visit to Texas.

"Perhaps while the President is visiting Texas, he can take a break from big-dollar fundraisers to disavow his Attorney General’s offensive and incendiary comments regarding our common-sense voter identification law.

"In labeling the Texas voter ID law as a 'poll tax,' Eric Holder purposefully used language designed to inflame passions and incite racial tension. It was not only inappropriate, but simply incorrect on its face.

"The president should apologize for Holder’s imprudent remarks and for his insulting lawsuit against the people of Texas."

The Texas visit comes as counterattacking Romney is seeking to shift political attention away from his business tenure and his tax returns. Romney planned to campaign in the Pittsburgh area Tuesday.