BALTIMORE (WJZ) — The man who assaulted an editor for The Baltimore Sun with a brick learns his fate.

Mustafa Eraibi receives a 30 year sentence, with all but 12 years suspended.

READ MORE: Outdoor Dining Zones To End In Annapolis On Nov. 1

Eraibi was convicted of attempted first-degree murder in the January 14 attack on Foster Avenue in Canton.

Eraibi walked up to Jonathan Fogg and asked for a cigarette before throwing him to the ground and smashing his head with a landscaping brick.

READ MORE: Baltimore Duo Tackles Childhood Anxiety In New Children's Book

He then took Fogg’s car, leaving him lying there bleeding from the head.

Once the 18 years are served, Eraibi will be on supervised probation for five years and pay $4,000 in restitution.

MORE NEWS: Howard County Police Searching For Missing 63-Year-Old Who May Be In Baltimore City

Police tracked down Eraibi through charges he made on Fogg’s stolen credit cards.