Manager Mick McCarthy says he was motivated by wanting to avoid making south Wales derby history after Cardiff City's 1-0 win at Swansea City.
No club has secured a league double in the history of the Swansea-Cardiff fixture.
That statistic still stands after Aden Flint's early header gave Cardiff a 1-0 win at Liberty Stadium on Saturday.
"Nobody had ever won both games and I certainly didn't want it to be me," McCarthy said.
"We put a lot of work in and the lads gave everything they have got."
Cardiff had to defend resolutely in the second half, but McCarthy thought they were worth the win.
"It wasn't always composed, but the defending was good, last-ditch tackles, blocks," he added.
"I am thrilled with them."
McCarthy and his staff celebrated wildly at the final whistle. The former Republic of Ireland manager said Cardiff's players had been motivated by Swansea's celebrations after they won at the Cardiff City Stadium in December.
"I wanted to get back on the tail-end of the play-offs and with this win we have done it," he said.
"The players had motivation prior to the game as Swansea did that at our place. They celebrated like they won the league. Our boys just reciprocated, that was all."
Swansea boss Steve Cooper felt his side played well and wants them to remember the strong position they are in to push on and get promoted to the Premier League.
"It means nothing, but it's as well as we have played for a while, probably since Bristol City here and we lost that game as well," he said.
"The bigger picture is that we are in a really positive league position, one that will be envied by all the teams below us.
"What are we, third? I don't think many people would have put us here at this stage at the start of the season.
"It's a tough one to get over, I won't lie, but we have got to make sure we come back strongly now with nine games to go."
Swansea are six points off the automatic promotion places with nine league games to come in 2020-21.
"We have got to make sure we regroup, we stay focused, we stick to our plan or working and playing," he added.
"There was nothing wrong with how we played, it was just the important bit at the end.
"But we'll get over the disappointment of today and there's only one way to go and that's to go for it."