Global law firm Ashurst has advised supermarket owner Woolworths Group on its proposed $9.4 billion demerger of Endeavour Group, in what will be the fourth largest demerger in Australia's corporate history.

The A$12 billion deal will create two separate share market listed companies—Endeavour and Woolworths. Endeavour owns pubs business AHL Group and liquor retailers Dan Murphy's, BWS, Cellarmasters and Langton's.