Lubomirski became famous as a commander during wars with the Ukrainian Cossacks, Sweden, Transylvania and Muscovy in the 1648–1660 period.
Inter alia he crushed the invading troops of George II Rákóczi and raided Transylvania.
He was a staunch defender of the "Golden freedoms" and the leader of the fierce opposition to King John II Casimir, who was attempting to increase his power.
The King accused him of treason to the state and with an adjudication of guilt adopted by the Sejm, he lost all his offices and was sent into banishment in 1664.
The Agreement of Łęgonice gave him back his dignity and annulled the earlier adjudication of the Sejm, the king was forced to give up his reform plans and the introduction of "vivente rege elections" and resulted in indirect abdication of the monarch in 1668.