Although Tuesday’s long day of heated debate ended with the House voting to condemn President Donald Trump for racist tweets, the chamber’s brawl over the president’s behavior may be just beginning.

The House voted, 240-187, to approve a nonbinding resolution that says the chamber “strongly condemns” Trump’s “racist comments that have legitimized and increased fear and hatred of new Americans and people of color.”

[‘I abandon the chair’: House floor in chaos over Pelosi speech on Trump tweets]

Getting there was an extraordinary journey stretching more than six hours. Lawmakers spent much of the afternoon in emotional upheaval, with members on both sides of the aisle seeking to strike their colleagues’ words from the record, including those of Speaker Nancy Pelosi. Members who are immigrants affirmed their love of the USA in stark terms. And then an eight-term lawmaker, Rep. Emanuel Cleaver II of Missouri, abruptly dropped the gavel and left the presiding officer’s post — a move that members and longtime chamber observers said was unlike anything they had ever seen before.

The House’s majority Democratic leadership went forward with the resolution after Trump’s comments from Sunday, when he tweeted that Reps. Alexandria Ocasio-Cortez of New York, Ilhan Omar of Minnesota, Ayanna S. Pressley of Massachusetts and Rashida Tlaib of Michigan should “go back and help fix the totally broken and crime infested places from which they came.” (Only Omar, a refugee from Somalia, was born outside the United States.)