The swineherd and Odysseus, who was in the guise of a beggar, were mocked on his way to the place.
Trash!
Trying to test the suitors, he gets a stool thrown at him by Antinous. He curses Antinous saying "May death come upon Antinous before his wedding day!"
Having heard the new the queen invites the beggar. The beggar refuses saying that he will only go once the suitors go home.
How dare they!
Waiting till the suitors go the beggar sits in the beggar's corner. Another beggar come along and tells Odysseus to get out of his territory.
The suitors come out and encourage the beggars to fight, whoever wins will be crowned the king of beggars. Having no choice but to fight Odysseus fights the beggar.
Oddssyeous wins the fight leaving the beggar sitting up on a colum to bleed.