Top city officials in San Antonio say that officers who appeared in a video where they are seen showing support for Republican presidential nominee Donald Trump will be disciplined.

Several officers are seen in the video wearing Trump's signature red hat bearing the campaign slogan 'Make America Great Again' during the candidate's visit to the Alamo City on Tuesday.

The mayor and the chief of police have already weighed in on the matter, according to Fox San Antonio.

'The officers wearing the campaign hats while in uniform violated SAPD policy and will be disciplined appropriately,' San Antonio Police chief William McManus said.

Scroll down for video

Donald Trump, the Republican presidential nominee (center), greets several San Antonio police officers just before boarding a plane at the airport on Tuesday

The officers wore red hats bearing the signature slogan of Trump's campaign, 'Make America Great Again,' while taking pictures with the candidate

Trump has made law and order a central theme of his campaign for president while touting the support he has received from law enforcement

'SAPD officers are charged with protecting the entire community. The officers displayed poor judgment.

'I expect them to know better than to give the appearance of endorsing a candidate while on duty and in uniform, regardless of the political campaign or the candidate,' the chief of police said.

The mayor, Ivy Taylor, wrote on her Twitter feed that she was 'deeply disappointed' by the SAPD officers' 'lack of judgement'.

'Police must be above politics with an obligation to serve everyone equally,' she wrote on her Facebook page.

'Everything they do should send that message and today's actions did not.'

It is official city policy for civil servants not to express political sentiments in favor of a candidate while on duty or in uniform.

The head of the union of SAPD officers said that the officers 'were most likely caught up in the moment and did not consider the political nature of their actions'.

The mayor of San Antonio, Ivy Taylor, took to social media to express her 'disappointment' with the officers' actions

Taylor said that the officers who appeared with Trump at the airport displayed 'lack of judgment'

Taylor and her chief of police said that the officers violated city policy that prohibits civil servants from expressing support for political candidates while on duty

'While on duty, police must be above politics with an obligation to serve everyone equally,' the mayor wrote on her Facebook page

'SAPOA historically does not make federal political endorsements,' said Michael Helle, the president of the San Antonio Police Officers Association.