A man could be jailed for up to five years after after allegedly shooting dead a rare protected species of bird.

Malaysian national Bobiean Sikro was photographed after allegedly killing a hornbill bird in Indonesia.

"Just enter this forest immediately shot this," he wrote in a now deleted post to Facebook on Tuesday, along with multiple photos showing him posing with the large dead bird.

View photos The man posed with the dead bird in his post to Facebook. Source: Facebook More

Social media users slammed Mr Sikro for his actions, with his post going viral before he deleted his personal Facebook account, IND News reported.

Hornbill is a protected species in both Indonesia and Malaysia. A Government official shared to social media it had been made aware of the post and had launched an investigation.

“The Perhilitan Peninsular Malaysia Department has received some Facebook user reporting since these few days in relation to a picture of a man who shows a bird who is suspected to (be) hunted,” a translated post on Friday, local time, read.

View photos He posed proudly with the dead bird in his post last Tuesday. Source: Facebook More

“The public is reminded so that it does not keep all species of hornbill in peninsular Malaysia, as it is a wildlife species fully protected under the Wildlife Conservation Act.”

The Ministry of Environment and Forestry (KLHK) confirmed the hornbill bird was protected by law, and said if the perpetrators are caught, they will be sentenced to a maximum of five years imprisonment and a maximum fine equivalent to $25,000.

Do you have a story tip? Email: newsroomau@yahoonews.com.

You can also follow us on Facebook, download the Yahoo News app from iTunes or Google Play and stay up to date with the latest news with Yahoo’s daily newsletter. Sign up here.