A man residing in Pittsburgh was sentenced to spend almost a decade in prison following a 2023 bank robbery in East Liberty.