Britain's general election was going to the dogs Thursday as voters took their pooches to polling stations up and down the country.

Prime Minister Boris Johnson set the tone early when he took his Jack Russell cross Dilyn with him as he voted in London.

The city's mayor, Sadiq Khan, followed Johnson's lead, posting a video of himself and his dog Luna at a polling station and urging people to vote. 

Britain's Prime Minister and Conservative Party leader Boris Johnson with his dog Dilyn leaves after voting in the general election at Methodist Central Hall, Westminster, London, Thursday, Dec. 12, 2019. The general election in Britain on Thursday will bring a new Parliament to power and may lead to a change at the top if Prime Minister Boris Johnson's Conservative Party doesn't fare well with voters. Johnson called the early election in hopes of gaining lawmakers to support his Brexit policy. (AP PhotoKirsty Wigglesworth)

Britain's Prime Minister and Conservative Party leader Boris Johnson with his dog Dilyn leaves after voting in the general election at Methodist Central Hall, Westminster, London, Thursday, Dec. 12, 2019. The general election in Britain on Thursday will bring a new Parliament to power and may lead to a change at the top if Prime Minister Boris Johnson's Conservative Party doesn't fare well with voters. Johnson called the early election in hopes of gaining lawmakers to support his Brexit policy. (AP PhotoKirsty Wigglesworth)

By early afternoon #dogsatpollingstations was trending on Twitter as owners followed suit.

Photos showed dogs dressed up in costumes varying from a bumble bee to Santa Claus sitting next to polling station signs. One was festooned with festive lights, reflecting the timing of the election less than two weeks from Christmas.

It was not clear how many dogs got into voting booths. The electoral commission says animals, with the exception of assistance dogs, “are not usually allowed inside polling stations.”