The Conservative government鈥檚 far-reaching budget bill has become law, ending a bitter political tug of war fraught with intentional delays and a marathon vote.

Bill C-38 passed through the Senate with relative ease on Friday afternoon, with the ruling Tories using their majority to overtake the opposition in a 49-31 vote.

The royal assent was hard-won with opposition MPs using deliberate challenges, amendments and a voting marathon in an unsuccessful bid to stop the bill in the House of Commons.

Referred to as a 鈥渒itchen sink鈥 bill, the 400-plus page document includes changes to employment insurance legislation, old age security and environmental protection laws.

Earlier this month, Prime Minister Stephen Harper鈥檚 Conservatives were able to quash hundreds of amendments to the bill before it moved on to a third and final reading in the Commons.

The around-the-clock session, which lasted roughly 22 hours, had MPs standing for 159 votes.

Green Party leader Elizabeth May, one of Bill C-38鈥檚 most vocal opponents, has called the bill an 鈥渋llegitimate attempt to change鈥 at least 70 laws.

Protesters have called the bill 鈥渦ndemocratic鈥 and a 鈥淭rojan horse,鈥 accusing the Conservatives of trying to bury contentious changes to Canadian law in the omnibus document.

The bill鈥檚 formal approval comes just as Parliament breaks for the summer.