JetBlue kicked a Brooklyn lawyer and his Hunter College professor husband off a plane at JFK on Thursday morning — after he accosted fellow passenger and future first daughter Ivanka Trump right before takeoff.

“Your father is ruining the country!” lefty lawyer and avowed Hillary Clinton supporter Dan Goldstein shouted at Trump, as she sat with her husband, Jared Kushner, and their three kids in the main cabin, TMZ reported.

The plane was heading to San Francisco and the family planned to catch a connecting flight to Hawaii, where Trump has a vacation place, senior transition team sources told ABC News.

Goldstein had planned to “harass” the daughter-in-chief as soon as the couple set eyes on her at the terminal, according to his husband’s own Twitter postings.

The pre-flight turbulence began with Goldstein’s professor hubby tweeting that “my husband” was “chasing” Trump down at the terminal — in order “to harass them.”

“Ivanka and Jared at JFK T5,” Matthew Lasner tweeted before boarding the morning flight, referring to Terminal Five. “Flying commercial,” noted the tweet, from an account which was later deleted.

“My husband chasing them down to harass them,” Lasner’s tweet continued, followed by the hashtag #banalityofevil.

Later, though, Lasner backed off the harassment mention.

“Ivanka and Jared on our flight. My husband expressed displeasure in a calm tone, JetBlue staff overheard, and they kicked us off the plane,” Lasner huffed.

Goldstein’s three most recent Facebook posts hyped a trio of failed post-election pro-Clinton escapades: a Change.org petition to encourage the Electoral College to make Clinton president, and two others promoting recounts in North Carolina, Arizona and Florida.

As a VIP, Trump and her family had been escorted onto the plane before the other passengers by a contingent of Secret Service and Port Authority cops, sources told The Post.

The cops then left. Secret Service agents took seats on the plane with the Trump family, but were not involved in the incident, sources said.

Once inside the cabin, Goldstein, who had a child in his arms, began shouting at Trump, demanding to know why she was on the flight and not on a private plane.

He also began “jeering” at the kids, a source told TMZ.

“Why is she on our flight? She should be flying private,” Goldstein reportedly shouted.

One passenger on the flight told TMZ that Ivanka calmly ignored the shouts and tried distracting her three kids with crayons.

Both men were escorted off the plane by JetBlue staff and offered “the next available flight,” the airline said.

“You’re kicking me off for expressing my opinion?” one of the men griped as they were led out, according to TMZ.

The deplaned couple apparently share a staunch anti-Trump attitude.

“The decision to remove a customer from a flight is not taken lightly,” JetBlue said in a statement issued later Thursday.

“If the crew determines that a customer is causing conflict on the aircraft, the customer will be asked to deplane, especially if the crew feels the situation runs the risk of escalation during flight,” the airline said.

“In this instance, our team worked to re-accommodate the party on the next available flight.”