HOUSTON - A police officer shot and killed an alleged robbery suspect during a sting operation, according to HPD.

The Houston Police Department says that the officer-involved shooting happened Wednesday morning. HPD held a press conference Wednesday afternoon and new Police Chief Acevedo said that the shooting was part of a sting operation following an investigation into a series of armored car robberies.

At 10:55 a.m., HPD says three suspects arrived at an Amegy Bank. HPD had a bait armored car in place. Police say one suspect was nearby with a long rifle and believe he was a sniper planning to take out the armored car driver. That suspect was shot and killed by police.

The two other suspects were taken into custody. A nearby school was also briefly on lockdown. The officer is OK.

"If a life is going to be taken, I'm just grateful it's the life of someone that is going to kill one of my cops or two of my cops. When you shoot at the police, you can be assured you are going to be shot at back," said Avecedo.

{"author_name":"KHOU 11 News","author_url":"https://www.facebook.com/KHOU11/","provider_url":"https://www.facebook.com","provider_name":"Facebook","success":true,"height":null,"html":"&#lt;div id=\"fb-root\"&#gt;&#lt;/div&#gt;\n&#lt;script&#gt;(function(d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) return;\n js = d.createElement(s); js.id = id;\n js.src = \"//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3\";\n fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));&#lt;/script&#gt;&#lt;div class=\"fb-post\" data-href=\"https://www.facebook.com/KHOU11/posts/10155698248204062\" data-width=\"552\"&#gt;&#lt;blockquote cite=\"https://www.facebook.com/KHOU11/posts/10155698248204062\" class=\"fb-xfbml-parse-ignore\"&#gt;&#lt;p&#gt;TAP AND WATCH: An update from HPD on this morning's officer-involved shooting.&#lt;/p&#gt;Posted by &#lt;a href=\"https://www.facebook.com/KHOU11/\"&#gt;KHOU 11 News&#lt;/a&#gt; on &#lt;a href=\"https://www.facebook.com/KHOU11/posts/10155698248204062\"&#gt;Wednesday, December 7, 2016&#lt;/a&#gt;&#lt;/blockquote&#gt;&#lt;/div&#gt;","type":"rich","version":"1.0","url":"https://www.facebook.com/KHOU11/posts/10155698248204062","width":552}