Allyson Schwartz snagged some national TV time Monday night to embrace Obamacare and unveil a new TV ad in her campaign for governor.

In an appearance on MSNBC's "The Last Word with Lawrence O'Donnell," Schwartz was featured as a Democratic candidate who is not running away from the politically divisive Affordable Care Act.

"I thought I should make it very clear that I am very proud of the work I did with President Obama and my colleagues to pass to the Affordable Care Act," Schwartz said.

The campaign ad includes footage of Schwartz and Obama walking together down the steps of what looks like Air Force One.

In the ad she notes she wrote the section of the Affordable Care Act that requires insurers to cover all kids with pre-existing conditions.

And she swipes at Gov. Corbett for not accepting the act's expansion of Medicaid, promising if elected governor that she will accept such expansion.

You can view the ad here. It begins at 2:36.

While Obamacare and the president remain controversial across the country, this ad is clearly aimed at Democratic primary voters in Pennsylvania. The latest F&M College poll shows the president with 68 percent (strong or somewhat favorable) support among Pennsylvania registered Democratic voters.

Schwartz, as a state Senator and a member of Congress, has long been involved in issues surrounding children and health. She was long viewed the frontrunner for the Democratic nomination to oppose Corbett this year. That perch currently is held by York County businessman Tom Wolf, who has self-funded statewide TV ads to boost his name ID and sell himself to voters.

The primary is May 20.