A £14.95million mansion in Marylebone that partly inspired Hollywood classic My Fair Lady has been put on the market.

The 8,520sq ft townhouse in Upper Wimpole Street is being sold along with an attached 1,520sq ft house in Dunstable Mews.

The mansion was owned by Professor Horace Wilson (1786-1860), who inspired George Bernard Shaw’s character Henry Higgins in Pygmalion - the basis for My Fair Lady.

Originally trained in medicine, Horace became the most prominent member of the Wilson family, eventually rising to Boden Professor of Sanskrit at Oxford University.

The mansion in Marylebone that inspired My Fair Lady and Pygmalion is up for sale

The oriental researcher wrote several books on language, culture and India and divided his time between Marylebone, Oxford and Calcutta.

He returned to live full-time in the mansion in 1837.

Managing director of estate agency Rokstone Becky Fatemi, who is marketing the property, said: “This magnificent Marylebone townhouse and mews has an interesting history, and provides outstanding accommodation including up four reception rooms and 12 bedrooms.

“The property is perfect for a large extended family wanting a sizeable London home with space to entertain. Alternatively, it could be remodelled to provide a luxurious entertaining property, with the lower ground floor transformed into a leisure and fitness suite.

The main reception room

“In this part of Marylebone it is very rare for a large family house of this size, with substantial frontage and depth, to become available for sale on a freehold basis.”

The main 10-bedroom house has a series of large grand entertaining and family rooms on the ground and first floors.

The entrance hall includes a stained glass fanlight screen, ornate ceiling mouldings and cornice and marble flooring.

It leads into the 16-seater formal dining room with Corinthian columns and sash windows.

The family kitchen

The first floor has two interconnecting reception rooms, featuring high ceilings, Georgian fireplaces and elegant wall panelling.

The second floor has a reception room, two bedrooms and a bathroom with a five further bedrooms and a study on the third and fourth floors.

The lower ground floor is currently arranged to provide three bedrooms, a reception room, kitchen, bathroom and vault-storage.

Further information is available here.