Deductions & credits

Did your mother own the home up until she died and you inherited it, or was it gifted/deeded to you while she was alive?
How long after she died did you sell the home?