Law, nor any other subject, is required to study Law. Contrary to popular opinion, Law isn't "frowned upon" by any major university I am aware of. However, the key point universities stress is that it doesn't convey an advantage, so unless you're unsure of your decision there's no reason to study it over another academic subject you can do well in.
While no subject is required, History is often considered useful as academic preparation for any essay based subject at university, not merely History itself (and related things such as Classics). Provided you don't take any subjects which are actually "non-preferred", which are to a one non-academic, applied, and vocational subjects, and often creative arts subjects. Examples include Accounting, Health and Social Care, and ICT. Business Studies is sometimes included here (for example, by LSE) and generally Economics is considered preferable to Business Studies. "Traditional" creative arts subjects like Fine Art, Drama, and Music are fairly variable, and it depends on the course whether they're acceptable. It's safest to pursue them either as a 4th subject, or extracurricularly. "Applied" or vocational arts subjects like Textiles and Graphic Design are almost always considered "non-preferred".
In general, "non-preferred" subjects are usually only acceptable as single third option at best, and are usually preferred as a fourth option, and in the latter case may not be part of an offer. This is for law specifically, although applies to similar academically rigorous courses. The overriding thing they want to see from students is that they've engaged in an academically rigorous curriculum and excelled in it - whether this is in humanities and social science subjects or STEM subjects, or some combination thereof, they don't mind. Additionally only three subjects are required, for almost any course (Law included).