The response to the passage of the American Health Care Act by Pennsylvania lawmakers, policy groups and officials has been mixed a mix of joy and concern.

On Thursday, the U.S. House of Representatives passed the controversial bill that aims to revise President Barack Obama's Affordable Care Act. The legislation -- which was a major campaign promise from President Donald Trump -- now heads to the U.S. Senate for consideration.

The bill passed mostly along party lines -- with Democrats voting against and Republicans voting in favor. Pennsylvania officials and policy groups have responded to the bill's passage with a flurry of emotions.

PennLive has taken a quote from Pennsylvania officials and group leaders to demonstrate the various feelings being expressed.

Here are comments from those that supported the bill:

U.S. Rep. Lou Barletta, PA-16: "The American Health Care Act repeals many of Obamacare's crippling mandates, including the individual and employer mandates and replaces them with provisions meant to drive down the cost of health insurance and increase access to affordable, patient-centered health care."

U.S. Rep. Lloyd Smucker, PA-13: "The American Health Care Act will help ensure Pennsylvanians have access to the care they need at a price they can afford. It returns regulatory power to the states - where it belongs - so that governors can run state-specific programs instead of a top-down, one-size-fits-all approach. It ends Obamacare's costly mandates and provides both a market-driven system that will lower premiums, and tax relief to hardworking Americans to help make health care affordable. Finally, the bill provides protections for those with pre-existing conditions."

U.S. Rep. Scott Perry, PA-4: "While it's important to recognize the American Health Care Act does not repeal the Affordable Care Act in full, it is a first step, albeit an imperfect one. Recent changes in the ACHA will give states more flexibility to tailor health care policies to meet the specific needs of its citizens and help reduce premium costs over time, while explicitly maintaining protections for those with pre-existing conditions."

U.S. Rep. Keith Rothfus, PA-12: "The American Health Care Act is a solution that addresses both coverage for those with pre-existing conditions and affordability for everyone, with states having an opportunity to move away from Washington mandates and towards flexibility and choice."

Here are comments from those that were against the bill:

Pa. Gov. Tom Wolf: "This is a sad day for millions of Pennsylvania families who now continue to worry about their access to health care. I will continue to fight to save health care access and consumer protections that help protect the health and financial security of Pennsylvanians. While some in Washington are celebrating today as a victory, this shallow and shameful attempt to score political points at the expense of the sick, poor, elderly and disabled will not soon be forgotten."

U.S. Sen. Bob Casey: "Republicans in the House of Representatives just delivered an economic punch to the gut of middle class families in Pennsylvania. What passed today isn't a health care bill, but a scheme to cut taxes for millionaires and big corporations, a giveaway for special interests, and forces middle class families in Pennsylvania to pay more for their health care."

U.S. Rep Charlie Dent, PA-15: "I am disappointed the House passed this bill that I believe will increase health insurance costs particularly for low-to-moderate income Americans, increase the number of uninsured by as much as 24 million people, and undermine important protections for those living with pre-existing conditions. It is my hope that cooler heads will prevail in the Senate and that they will produce a better bill that is focused on improving the health care for all Americans rather than the haphazardly constructed and hastily considered House bill."

Sari Stevens, executive director of Planned Parenthood Pennsylvania Advocates: "This is the worst bill for women's health in a generation. By supporting this bill, Congressmen Rothfus, Murphy, Smucker and Kelly just voted to block thousands of their constituents in Pennsylvania, and millions of people around the country, from essential health care."

Chris Hansen, president of the American Cancer Society Cancer Action Network: "Allowing patients to be charged more for coverage based on their health status risks making pre-existing condition protections virtually meaningless. A return to medical underwriting, combined with seriously weakened standards for what constitutes good coverage through the erosion of Essential Health Benefits, sets up a situation whereby payers can cherry-pick their customers and leave patients with serious conditions like cancer with few if any affordable insurance options."

Pa. Insurance Commissioner Teresa Miller: "I am extremely disappointed that the U.S. House of Representatives approved a bill that jeopardizes protections put in place by the Affordable Care Act for people with pre-existing conditions."

Pa. Auditor General Eugene DePasquale: "I am extremely dismayed with the provision in this bill that would cut $880 million nationally from the Medicaid bill that provides health care for low-income people and nursing home care for older Americans and persons with disabilities. In Pennsylvania alone, these changes could have catastrophic effects on the health care for hundreds of thousands of our residents, and push our growing structural budget deficit to cosmic levels."

Pa. Treasurer Joe Torsella: "As treasurer, I am deeply disturbed that the House of Representatives just voted to take away desperately needed care for our working families. More than 675,000 of primarily rural, working poor Pennsylvanians have benefitted from the Medicaid expansion this bill would undo. These are children, pregnant women, parents, seniors and individuals with disabilities. They are our family, friends and neighbors, and the elimination of the Medicaid expansion provision has individual consequences that are beyond measure as recipients will no longer have health coverage."