A Doha criminal court has sentenced a man to one year in jail and imposed a fine of QR3,000 for attacking a security guard at a local hotel.