London (CNN) Boris Johnson's wish has been granted.

Lawmakers in Britain's new-look Parliament have finally approved the Prime Minister's Brexit deal, a landmark moment after three years of political infighting that sets the UK firmly on course to leave the European Union next month.

Johnson's withdrawal agreement sailed through its first obstacle in the House of Commons Friday on a mostly partisan vote, eight days after the Conservative leader comfortably won a general election on a simple promise to "get Brexit done."

It means the UK will split from the block on January 31, when a transition period kicks in that will give both sides 11 months to agree on their future relationship.

The vote is a significant achievement that had so agonizingly eluded Johnson's predecessor Theresa May on three occasions, and had seemed a distant proposition at times during the UK's intractable Brexit crisis.

Read More