The attempted murder of the two police officers happened in the Londonderry area during the early hours of the morning as they were responding to a call in the Collon Lane area of the city.
Police said three officers and a custody officer were assaulted during the course of apprehending the two men.
Police confirmed the officer who was stabbed in the leg was taken to hospital for treatment, while the other officer who was stabbed in the chest was wearing equipment which protected them.
Deputy Chief Constable Bobby Singleton said: “During the early hours of this morning, Thursday 27th November, police were conducting enquiries in relation to a wanted person in the Collon Lane area of the city.
“One officer was speaking with a man at the property when he became aggressive, swinging out at him, and striking him to his face – resulting in a bloodied nose.
“Police attempted to arrest the suspect inside the flat, and due to his violent actions already demonstrated, it was necessary to deploy PAVA spray.
“The suspect refused to show his hands, and subsequently produced a knife and attempted to stab an officer to his torso.
“Had the officer not been wearing his protective body equipment, the consequences of this attack could have been far more serious.
“While the 21-year-old suspect was being detained, an officer suffered a stab wound to the leg – causing a laceration that required stitches in hospital. He was subsequently arrested on suspicion of a number of offences.
“Officers entered the kitchen area of the flat and located another man who was wanted by police in relation to breach of bail.
“When police attempted to speak with the 20-year-old, he struck out at two officers with his hand. Once detained, he spat on an officers glasses and was arrested on suspicion of a number of offences.
“When taken to custody he spat again at an officer and assaulted a custody detention officer as he was taken to his cell.
“Following a search of the property a number of Class A, B and C drugs were also located and have now been removed for forensic examination.
“Both suspects remain in custody today as our enquiries continue – and these shameful attacks on our officers will be investigated rigorously.”
Highlighting that police officers have faced over 2,500 assaults in the last 12 months, Mr Singleton said the officer stabbed was “very fortunate”.
“Officers put themselves on the front line to help keep people safe – they do not deserve to be assaulted for simply doing their job,” he added.
“The officer who was stabbed in the leg was very fortunate – this disgusting attack had the clear potential to cause life-changing or even fatal injuries.
“We are ensuring all the officers assaulted, including the custody officer, are being supported by colleagues and offered welfare services as they recover.
“Just last week we highlighted there were over 2,500 assaults on our officers and staff in the last 12 months– and now we are dealing with another violent attack. This is totally unacceptable, and must stop.”
In a statement, the Police Federation of Northern Ireland – the organisation that represents rank and file officers – also condemned the attack.
PFNI Treasurer Elaine McCormill said: “This is a shocking, brutal and barbaric attack on officers. They were set upon with a frightening viciousness.
“One officer sustained a stab injury and required hospital treatment. The other officer was attacked at chest height, but their protective vest thankfully prevented the weapon causing serious injury.
“We could be looking at a much more serious outcome today had it not been for the training, restraint and professionalism exercised by our officers.
“Only last week, we talked about the risks officers confront daily as they work to safeguard communities, apprehend lawbreakers and help vulnerable people. This latest attack was mindless and underlines the need for the entire community to come out and voice its support for officers.

Stock Image: Police attended the incident
News Catch Up – Thursday 27 November
“Our recent ‘Let Them Protect’ campaign sought to enlist the backing of the wider community and create greater awareness of the vital work our colleagues do. We are seeing some results, but this latest, very worrying, incident in Derry/Londonderry means there can be no letting up in our efforts to deal with potentially life-threatening assaults.
“I want to wish our colleagues well as they recover from this frightening ordeal.
“This Federation believes the full weight of the law should be brought down on attackers and that must mean meaningful sentences by the courts to serve as a deterrent and make would-be assailants think twice before lashing out at our colleagues.”