Russell Dale Patterson was found guilty of aggravated robbery and aggravated assault on a public servant.
He's sentenced to 11 years in prison but will receive 296 days credit for time already served in jail.
A third charge of of theft of a firearm was dismissed.
Police say around 1 a.m. January 19, Patterson threatened a Skylark taxi driver with a gun and demanded money.
That driver was not harmed and no money was taken.
While police were investigating that crime, they were then called to Walmart off Central Freeway, where employees reported a man was trying to steal a machete and a CO2 BB gun from the store.
Police say that man was Patterson and officers found him in the parking lot where they say he threatened an officer with a machete.
They say thanks to witness reports, surveillance video, and quick action by police, officers were able to tie Patterson to all those crimes.
Copyright 2017 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.