Elwyn has already posted the information. This applies in the mainland UK from the date given, and not in the island of Ireland. Remember though in 1834 the whole of Ireland was part of the UK with representatives at Westminster. It makes perfect sense for the legal age of marriage for both sexes to have been far lower historically, remember that in the 19th century the average life expectancy of society was much lower than now.
An instance from my own tree to support this: My daughter married at the age of 38, and her daughter was born when she was 41. Her 2XGGM married at 16, had seven children and was dead at 28!