The Democratic-controlled Assembly is expected to take up a bill Wednesday that is meant to keep guns away from those deemed to be too dangerous to themselves or others.

Known as the “red flag” bill, the measure is part of a campaign being undertaken by Gov. Andrew Cuomo to highlight the legislation in the final days of the session, scheduled to end on June 20.

“I think it’s important to tell the people of the state of New York how important it is to have sensible gun control legislation,” said Assembly Speaker Carl Heastie, a Bronx Democrat. “We want to make sure people who can observe young people who are closest to them, maybe they can intervene, and do something.”

The measure is expected to face little opposition in the Assembly, which is firmly controlled by Democrats.

In the Senate, narrowly controlled by Republicans, GOP lawmakers there are down one member, Sen. Tom Croci, who is away on military leave. His absence gives Republicans 31 members in a body that requires 32 votes to pass any legislation.

But Republicans maintain control and have been lukewarm to the bill and have pointed to efforts to bolster school security through additional resource officers, a move Assembly Democrats would oppose.

“We have done a lot of things already this year with regard to school safety,” said Sen. Cathy Young. “We’ve passed a package of school safety measures that the Democrats have failed to take up.”

Asked if she would specifically support the red flag legislation, Young said, “I think we need to focus on mental health and school safety in general.”

Cuomo, meanwhile, has been skeptical Republicans will take up the bill.

The Senate GOP did allow a vote on the first gun control measure since the 2013 SAFE Act to be approved in the chamber: A bill that tightens restrictions on gun possession for those convicted of misdemeanor domestic violence.