He married Queen Victoria, his first cousin, on 10 February 1840. The wedding was held at St. James's Palace, the queen's official home in London. Both Victoria and Albert were deeply in love with each other. However, the queen kept Albert out of politics; he was not allowed to take part in the government of the country. In the end, this changed, and Albert often gave advice to the Prime Minister of the time.